Active
Project:
Node Tab
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Oct 2013 at 21:03 UTC
Updated:
2 Aug 2014 at 10:19 UTC
Jump to comment: Most recent
Hello,
I really love this module, thanks for your nice work. I think an option to hide menu links with no content would be nice.
thx
Halil
Comments
Comment #1
bojanz commentedProblem is, we have no way of knowing whether the tab is empty.
What we do on our own site is implement hook_node_tab_tab_access() so that tabs not selected on the node edit form (entityreference) field are not shown.
That allows the admin to disable the tabs that he knows are still in preparation.
See node_tab.api.php for an example.
Comment #2
bonchak commentedThank you for your help. I'll try that.
Best regards
Halil
Comment #4
zmove commentededit