Skip to main content

This is an extension to the Kotti CMS that renders a navigation in the left or right slot.

Project description

This is an extension to the Kotti CMS that renders a navigation in the left or right slot.

Find out more about Kotti

Setting up the navigation widget

To set up the navigation widget to display on every page in Kotti on the left side add kotti_navigation.kotti_configure to the kotti.configurators setting in your ini file:

kotti.configurators = kotti_navigation.kotti_configure

To set up the navigation widget on the right side you have to use the pyramid.includes option in your ini file:

pyramid.includes =
    ...
    kotti_navigation.include_navigation_widget_right

To exclude the root of the site from the navigation, set the kotti_navigation.navigation_widget.include_root variable.:

kotti.configurators = kotti_navigation.kotti_configure
kotti_navigation.navigation_widget.include_root = false

To open the whole navigation all the time, set the kotti_navigation.navigation_widget.open_all variable. This is useful if you plan to set up a popup menu via css or javascript:

kotti.configurators = kotti_navigation.kotti_configure
kotti_navigation.navigation_widget.open_all = false

Changelog

0.1

  • 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 Distribution

kotti_navigation-0.1.zip (19.0 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