I got a task to make two navigation menus on a site:
- ‘Main’ menu (“About”, “Contacts”, etc)
- Catalogue menu (“Projects”, “Gallery 1”, “Gallery 2” etc)
I know that I could use something django-sitetree – but it is pretty complicated to give it to the customer 🙁
How can I do it via Django CMS?
upd:
Seem that the best thing is to make two ‘folders’ that just won’t be shown in navigation (there is a special checkbox for that).
django-cms has it’s own built in menu system.
For example this snippet will load a full menu. Pages and subpages.
You should read this page here to see all the different menus you can get from django-cms.
django-cms navigation
And all the work is done for you!
If you have a custom app and would like to build up a menu yourself then that too is very easy. The best is to read this page, even copy paste this code and put in your own stuff.
Custom app menus