Skip to main content

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

  1. Add menuproxy to your INSTALLED_APPS.
  2. Set MENU_PROXY_SETTINGS variable. To learn about how to use it read source code of example project.

Usage

In your templates

  1. Load menuproxy_tags templatetag:

    {% load menuproxy_tags %}
    
  2. To show menu use:

    {% show_main_menu <rule> <object> %}
    

or:

{% show_full_menu <rule> <object> %}

or:

{% show_auto_menu <rule> <object> %}
  1. To show breadcrumbs use:

    {% show_breadcrumbs <rule> <object> %}
    

To learn more about usage read source code of example project.

Redsolution CMS classifiers:

Content plugins

Project details


Download files

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

Files for redsolutioncms.django-menu-proxy, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size redsolutioncms.django-menu-proxy-0.1.0.tar.gz (9.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page