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.

History:

  • 0.1.0 - First release

  • 0.1.1 - Fixed old tag pop_breadcrumb

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

redsolutioncms.django-menu-proxy-0.1.2.zip (17.3 kB view details)

Uploaded Source

File details

Details for the file redsolutioncms.django-menu-proxy-0.1.2.zip.

File metadata

File hashes

Hashes for redsolutioncms.django-menu-proxy-0.1.2.zip
Algorithm Hash digest
SHA256 f79a76952a1838a21a8e4864cb1fd9d929645eb481c8cdb2c6e34d65ee3f720a
MD5 2374f1022906e83194bbd2dc6caba10e
BLAKE2b-256 dd13668543ee8e3e192ff5eb3996544d4e4d4d04b05f253d7b2fba5ae1852065

See more details on using hashes here.

Supported by

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