Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A jQuery snippet that hide the "Sub-types" menu of p4a.subtyper when empty

Project Description


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


  • An uninstall Generic setup step.


0.1.0 (2009-12-11)

  • Initial release
Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
redturtle.hide_subtypes-0.1.0.tar.gz (9.2 kB) Copy SHA256 Checksum SHA256 Source Dec 11, 2009

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting