Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
5 Feb 2014 at 16:36 UTC
Updated:
20 Jul 2014 at 22:26 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #1
PA robot commentedWe are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #2
mike.roberts commentedYou should update your issue with all of the information from the application checklist to make it easier for people to review your project.
Description:
Automated Review
You have a lot of errors in this project. See http://pareview.sh/pareview/httpgitdrupalorgsandboxflow19902189389git for details.
Please fix and then change status to needs review.
Manual Review
plume_menu.js
Your js doesn't follow the drupal standard. You should rewrite it to be:
plume_menu.info
Remove these lines, drupal adds them automatically:
plume_menu.module
A lot of the functions in this module don't follow the naming convention. Your functions that start with an '_' must also use the module name, so they should renamed to '_plume_menu_get_menu_type_1' etc.
Your variables in variable_set and variable_get don't follow naming conventions. They should start with your module name.
You have if statements missing brackets.
Also, comments like "Implements _get_menu_type_1()." Aren't valid comments, those are only for Drupal hooks. You should provide a short, one-line description of what your functions do if they are custom functions and not Drupal hooks.
And lastly, it seems like there is a much easier way to do what you're trying to accomplish. Check out the theme function.
For example, your _display_menu() function might be better accomplished with theme('menu_tree', $variables) and theme('menu_link', $variables);
Edit: added manual review
Edit2: Fixed code block
Comment #3
flow1990 commentedThanks a lot for this helpfull comment !
I will make every effort to meet the validation criteria and standards
Thank you again for the quick and complete audit.
Comment #4
flow1990 commentedI have fixed all error whith coder, and clean code to follow the drupal standard.
This module can improve the navigation for a menu with a lot of sub-menu and sub-item.
If you have a menu with items who contains a lot of sub-items and sub-level items, it is much easier to switch sub-items without go in the menu and scroll through the menu to find your items.
This module simplify user navigation through the web site.
My projet page : https://drupal.org/sandbox/flow1990/2189389
Git :
Comment #5
flow1990 commentedComment #6
flow1990 commentedComment #7
flow1990 commentedI have fixed all error whith coder, and clean code to follow the drupal standard.
This module can improve the navigation for a menu with a lot of sub-menu and sub-item.
If you have a menu with items who contains a lot of sub-items and sub-level items, it is much easier to switch sub-items without go in the menu and scroll through the menu to find your items.
This module simplify user navigation through the web site.
Comment #8
mike.roberts commentedYou don't have a review bonus on this so it's definitely going to take a lot longer to get approved than if you did have one. Check out the review bonus program here: https://drupal.org/node/1975228
Or you can just wait at the bottom of the queue :).
Comment #9
dahousecat commentedHi Flow1990,
You still have loads of errors on your pareview report. Will be worth getting those fixed before someone comes along to do a proper review...
Comment #10
impol commentedAs I know, it's a bad practice to store contrib plugin in module directory, please use libraries api.
And additionally:
please use
attach: function (context) {insteadattach: function () {and use it here
if ($("#menu-type-2 li a").hasClass("active") == true) {asif ($("#menu-type-2 li a", context).hasClass("active") == true) {And I think you don't need to check
== truein condition statement.Helpful docs:
Comment #11
impol commentedComment #12
gmclelland commentedNot sure if it already does, but it would be cool if this somehow integrated with https://drupal.org/project/menu_block.
Comment #13
PA robot commentedClosing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.