Closed (fixed)
Project:
Taxonomy Access Control Lite
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
1 Feb 2013 at 18:52 UTC
Updated:
16 Feb 2013 at 18:40 UTC
I need help! Google is not troubleshooting my problem.
what i need to modify to hide menu when i hiding from view the term from taxonomy?
Its very important for me!!
Comments
Comment #1
profak commentedI think it's more Taxonomy_Menu issue, but never the less i post solution here.
Under sponsorship of bogdanvolkov developed next solution of this task in template.php of current active theme.
Don't forget to change themename to your theme, clear cache, set BID of correct block (Taxonomy Menu).
It looks like fixed now.
Comment #2
Dave Cohen commentedMakes sense it is a taxonomy_menu issue, because that module is probably building menu items and granting access to them statically, rather than checking per-user. A long term fix (not specific to one theme) might be to use hook_menu_alter() to change it's menu items, in particular their access callback.
Still, glad it's fixed for you and thanks for sharing that code.
Comment #3.0
(not verified) commentederror