Introduction
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)
This will show the menu that a CSS given and installed with this product hide. So the Subtyper menu is always hidden, but Javascript restore it when needed.
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
TODO
An uninstall Generic setup step.
Changelog
0.1.0 (2009-12-11)
Initial release
Release files for redturtle.hide_subtypes 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| redturtle.hide_subtypes-0.1.0.tar.gz | 9.2 kB | Details |
Release files / redturtle.hide_subtypes-0.1.0.tar.gz
| Download URL | redturtle.hide_subtypes-0.1.0.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e112a59c7c767e4b1faa6080ead2348e37f5eacfa56ad5fd330962893b3a86ce
|
|
BLAKE2b-256 checksum How to use checksums |
6e12abdf9d749a228c6a357a10c1cc294b89547c6235fffe2516fb30dc6184d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |