elcodo / djangocms-multimenus Goto Github PK
View Code? Open in Web Editor NEWMultiple tree menus for DjangoCMS
License: MIT License
Multiple tree menus for DjangoCMS
License: MIT License
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!
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 %}
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.
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:
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'
./manage.py collectstatic
/admin/multimenus/menuitem/
I think it is due because application aldryn_translation_tools is not enabled when run ./manage.py collectstatic
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.