Nice Taxonomy Menu is useful to generate well formed vertical menu blocks to represent taxonomy trees and make access quickly to their related contens.
Anytime you generate a new Nice Taxonomy Menu, the module generated a new related block for displaying it.
Leaf terms in the tree (that belong to a specific vocabulary) have a link you can customize: for example, you create a simple view (with a page visualization) on nodes which have a field that is a "term reference" to the same vocabulary, with a contextual filter related to the sema field. Then you put the URL of the visualization in the "Link URL" of the Nice
Taxonomy Menu. Every time you click on a leaf, the page loads your view's visualization page passing the correct tid for filtering.
Javascript code inside the menu generates a minimal animation for collapsing and expanding the intermediate elements.
Every Nice Taxonomy Menu contains CSS classes that make the display customization very easy.
Versions:
Drupal 7
Commits for Context URL:
https://drupal.org/node/2080639/commits
Project Page:
https://drupal.org/project/nice_taxonomy_menu
GIT link:
git clone gianfrasoft@git.drupal.org:project/nice_taxonomy_menu.git nice_taxonomy_menu
Comments
Comment #1
trrroy CreditAttribution: trrroy commentedCan you provide a link to the sandbox?
Comment #2
PA robot CreditAttribution: PA robot commentedLink to the project page and git clone command are missing in the issue summary, please add them.
We 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 #3
asherry CreditAttribution: asherry commentedLooks like this is missing the project page link:
https://drupal.org/sandbox/gianfrasoft/2080639
And the git link:
git clone http://git.drupal.org/sandbox/gianfrasoft/2080639.git nice_taxonomy_menu
Comment #4
asherry CreditAttribution: asherry commentedA couple things I see:
- you'll want an .install to do a hook_uninstall(). You need to add variable_del('ntm-count');
- then cycle through that count and do variable_del('ntm-node-type-' . $i);
- line 80, 89, and 102 you need a default for variable_get
- for hook_menu and hook_permission you need to indicate they are hooks. IE -
- add a doc comment for some custom functions like nice_taxonomy_menu_callback().
Comment #5
asherry CreditAttribution: asherry commentedAlso you need a README.txt file.
Comment #6
gianfrasoft CreditAttribution: gianfrasoft commentedLinks added in the issue. README.txt file uploaded!
Thank you!
Comment #7
PA robot CreditAttribution: PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxgianfrasoft2080639git
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #8
gianfrasoft CreditAttribution: gianfrasoft commentedOk!
Comment #9
bohartPlease fix it https://drupal.org/node/2080721#comment-7825387.
After that, status of the issue will be changed to "Needs review".
Comment #10
gianfrasoft CreditAttribution: gianfrasoft commentedSorry, wrong upload.
The module is ok now. Thanks!
Comment #11
gianfrasoft CreditAttribution: gianfrasoft commentedSorry, I'm experiencing problems with GIT. Soon the module will be updated.
...
Comment #12
gianfrasoft CreditAttribution: gianfrasoft commentedOk, ready!
Comment #13
gianfrasoft CreditAttribution: gianfrasoft commentedDoese anybody put status to "Reviewed & Tested...", please?!?
Comment #14
kscheirerI upped the priority for you, if another 2 weeks goes by you can set it to 'critical'. The best thing you can do is get a Review Bonus by reviewing other applications. That will get you to the top of the list of projects to get reviewed (and hopefully approved). Only manual reviews count, just using http://pareview.sh is not enough.
----
Top Shelf Modules - Crafted, Curated, Contributed.
Comment #15
jeroen_drenth CreditAttribution: jeroen_drenth commentedA view things I've noticed browsing quickly through your code:
Hope this helps.
Comment #16
jeroen_drenth CreditAttribution: jeroen_drenth commentedComment #17
kscheirerAfter review the status goes back to normal.
----
Top Shelf Modules - Crafted, Curated, Contributed.
Comment #17.0
kscheireradded links
Comment #19
gianfrasoft CreditAttribution: gianfrasoft commentedTank you very much for your interesting.
I changed few things. See you!
Comment #20
AjitSAutomated review:
pareview.sh doesn't show any issues.
Manual review:
ntm%
. If you have more variables set in the module, you could do something (in yourhook_uninstall()
) like the following to ensure that you don't miss deleting any variables:Just a thought.
hook_update_N
. Very rare in this issue queue.nice_taxonomy_menu_has_son
could be renamed tonice_taxonomy_menu_has_child
, as it is how taxonomy menus are referred to in the community (not a rule of thumb though). Not a blocker.nice_taxonomy_menu_contents
, you are using some foreign language (Italian according to the Google translator), to comment your code. While using more inline comments is very good, we have to make sure that the mass of the users understand it. English is (and should be) used any sort of documentation on drupal.orgComment #21
gianfrasoft CreditAttribution: gianfrasoft commentedThank you very much, @AjitS. I really appreciate your contribution.
I applied all the tips you gave me. I hope you are going to use my module.
If you have requests, let me know.
Bye!
Gianfranco.
Comment #22
AjitSThank you for making the changes. But, looks like you've removed the inline comments altogether. It would be very helpful if you translate them to English. Not a blocker though.
Whenever, you've done making the changes requested the status of the issue should be changed to "needs review".
Comment #23
gianfrasoft CreditAttribution: gianfrasoft commentedNono, I removed just one comment: an SQL string not so much useful.
if you believe, I can add some other comments inside the code.
I'll do it at most tomorrow... Stay tuned!
Gianfranco.
Comment #24
centas CreditAttribution: centas commentedHello,
in your module uninstall function you use a query to remove variables, but I think it is better to use "variable_del".
I understand it is one line vs multiple lines, but I believe the use of API is recommended over the custom code. Plus, the function clears the variable cache.
Thanks,
V.
Comment #25
kscheirer@centas, that's a valid point, but not a blocking issue.
Comment #26
centas CreditAttribution: centas commented@kscheirer, I see, my bad. Will keep in mind next time.
Comment #26.0
drummUpdated links
Comment #27
klausiSo it looks like some git administrator has already approved your account. Please tell them to got through the official channel here next time, so that we can coordinate our effort in reviewing applicants better.
Thanks for your contribution, gianfrasoft!
Somebody updated your account so you can promote this to a full project and also create new projects as either a sandbox or a "full" project.
Here are some recommended readings to help with excellent maintainership:
You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and stay involved!
Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
Thanks to the dedicated reviewer(s) as well.
Comment #28
gianfrasoft CreditAttribution: gianfrasoft commentedOk! Next time I'll tell that my account have been already approved.
Thank you.
Comment #29
asherry CreditAttribution: asherry commented@gianfrasoft - I think I know what happened. You already got a project approved:
https://drupal.org/node/1468596
You don't actually have to go through this process to promote other modules. The project application process is really a "vetting" process, once it's proven that you can do one moderately sized module up to coding standards, you can then be trusted to do the same will all future modules of yours.