After setting up django-cms and creating a collapsible menu with categories and subcategories, I encountered an issue. When clicking on a main category, the URL appears correct but it does not navigate to the corresponding page. Main categories without child/subcategories open correctly to their URLs. However, when a category has subcategories, clicking on the category name just expands the list of subcategories.
I suspect the issue may lie in the Javascript code (possibly an onclick event), or it could be related to a setting in django-cms. I am reaching out for assistance from anyone who has experienced a similar problem.
To provide further clarity, my left menu currently displays:
- Home
- Pets
- Dogs
- Terriers
- Cats
- Dogs
- Accessories
- Collars
- Roundels
- Contact
When clicking on "Contact," the page navigates to the contact URL correctly. However, when clicking on "Pets," only the subcategories expand, and I cannot access the Pets page despite the correct URL being displayed. My desired behavior is to click on "Pets" and be directed to the Pets page while also seeing the subcategories listed below in the menu.
If you can offer any help or guidance, I would greatly appreciate it.
Thank you.