Timeline for How to add a class to menu items that are not expanded (or don't have children) in the navigation Twig template?
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
S Jun 14, 2019 at 17:20 | history | suggested | Bisonbleu | CC BY-SA 4.0 |
Adding missing tags.
|
Jun 14, 2019 at 13:03 | review | Suggested edits | |||
S Jun 14, 2019 at 17:20 | |||||
Jun 14, 2019 at 13:02 | comment | added | Bisonbleu | The code above is missing an opening {% if %} as well as a closing {% endfor %}. Fixed. | |
Feb 19, 2017 at 21:15 | comment | added | Pim | I add your code right after my set classes array - but no go. | |
Feb 15, 2017 at 14:00 | comment | added | Rina | Yes, my mistake. Hopefully that should work now. | |
Feb 15, 2017 at 13:59 | history | edited | Rina | CC BY-SA 3.0 |
added 9 characters in body
|
Feb 14, 2017 at 11:35 | comment | added | Pim | Would you care to add the {% for item in items %} loop to your example? I can't seem to get it to work! Thanks. | |
Feb 13, 2017 at 19:29 | review | First posts | |||
Feb 13, 2017 at 19:30 | |||||
Feb 13, 2017 at 19:27 | history | answered | Rina | CC BY-SA 3.0 |