Coder Social home page Coder Social logo

djangocms-multimenus's People

Contributors

bashu avatar execut avatar grzegorzbialy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

djangocms-multimenus's Issues

How to translate title

I'm trying to translate the menu items, but I can't figure out how to do it. If I click con the language badges on the right, it always translates for the main language, and there are no other ways that I can see. Is there a guide/readme/wiki I can refer to? Thanks!

Add the support detection of active menu items

I think the item can have two methods for detecting active menu items from the template:
is_active() - for detect a active item.
is_has_active_children() - for detection of what item has active children.

Usage example:

{% load multimenus %}

{% for item in items %}
<li class="list-group-item{% if item.is_active or item.is_has_active_children %} active{% endif %}">
    ...
</li>
{% endfor %}

The cache is not reset after updating or creation a menu item

Hello!
I add a menu item to the menu.
Expected behavior:
The new menu item shows up on the menu
Actual behavior:
The new menu item does not show up on the menu

I think it does because the cache is not clear after the edition of the menu items.

I already fix this bug. Later I will make a pull request.

ValueError: Missing staticfiles manifest entry for 'css/admin/all-translations-mixin.css'

  File "lib/python3.8/site-packages/django/contrib/staticfiles/storage.py", line 423, in stored_name
  raise ValueError("Missing staticfiles manifest entry for '%s'" % clean_name)
ValueError: Missing staticfiles manifest entry for 'css/admin/all-translations-mixin.css'

Exception throws when:

  1. Enabled STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'
  2. Run ./manage.py collectstatic
  3. On admin page /admin/multimenus/menuitem/

I think it is due because application aldryn_translation_tools is not enabled when run ./manage.py collectstatic

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.