A jQuery snippet that hide the "Sub-types" menu of p4a.subtyper when empty
If you are using for any reason p4a.subtyper, your Plone site will show in every page a not very nice “Sub-types” menu, even if the menu is empty.
This “product” will remove it using a very little jQuery code.
You have available 2 different approach:
- show invisible menu (default)
In this way you will not see “blink” effect in the page.
- hide visible menu
This seems simpler, just hide the menu when is empty, but this way in every page where the menu is empty, you’ll see it disappear.
To enable this way of handle the menu, just disable the hide_subtypes.css CSS in portal_css
- An uninstall Generic setup step.
- Initial release