MenuProxy allows you to build dynamic menu on site using different models. For example, you can combine flatpages, hardlinked views and news sorted by date in site menu. Menu will be updated dynamically, respectively, the structure of objects.
Project description
Allow you to build different menus and breadcrumbs over objects with differect types on your site.
Installation
In settings.py
Add menuproxy to your INSTALLED_APPS.
Set MENU_PROXY_SETTINGS variable. To learn about how to use it read source code of example project.
Usage
In your templates
Load menuproxy_tags templatetag:
{% load menuproxy_tags %}
To show menu use:
{% show_main_menu <rule> <object> %}
or:
{% show_full_menu <rule> <object> %}
or:
{% show_auto_menu <rule> <object> %}
To show breadcrumbs use:
{% show_breadcrumbs <rule> <object> %}
To learn more about usage read source code of example project.
Redsolution CMS classifiers:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for redsolutioncms.django-menu-proxy-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfc7259bdbd501afd4f66940a0fa165b02e9b7f99e0e87ba48d5618a83b448d6 |
|
MD5 | b7618869286d17ddfe66820e1444664b |
|
BLAKE2b-256 | 396f104c9772c3ac3fa56b58748b5791a495c9ecf13d6bd63bf6b832fdbeb00b |