Skip to main content

Placeholder items for Mezzanine menus.

Project description

About

The menuplaceholder application allows users to add placeholders to the menu of a Mezzanine CMS website. Menu placeholders are “dummy” menu items, which can be used for organising submenus. Users can view them (and their children); unlike other types of menu items (such as those for rich text pages), users cannot click on placeholders to open them. Menu placeholders are provided to structure the hierarchy of pages on a site, but are not used to provide content.

The menuplaceholder app works with the following things:

  • Primary menus

  • Mobile menus

  • Dropdown menus

  • Footers

  • Breadcrumbs

Installation and usage

Like any Python app, one goes:

python setup.py install

Then add "menuplaceholder" to INSTALLED_APPS in the settings.py file for your Django installation. Afterwards:

python manage.py makemigrations menuplaceholder
python manage.py migrate

Once this is done, adding a placeholder menu item (or ten) is trivial.

  • Go to the Mezzanine dashboard.

  • Under Content, click on Pages in order to “Select Page to change”.

  • Pick the part of the menu hierarchy you wish to add a menu placeholder, and click on “Add…”. The dropdown menu now have a new item: “Menu placeholder”. Select it.

  • Choose a Title and then click on Save.

Dependencies

The menuplaceholder app has been trialled with both Python 2.7 and 3.5. The other dependencies are:

  • Django (1.*x*; has not been tested on 2.*x*)

  • Mezzanine (4.*x*)

Versions

  • 0.1 (April 5th 2018) - Initial release.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

menuplaceholder-0.1-py3.5.egg (8.4 kB view hashes)

Uploaded Source

menuplaceholder-0.1-py2.7.egg (8.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page