enhancement for the menu plugin
Opened this issue · 6 comments
rallek commented
Guite commented
This will probably cause problems as soon as you have more than max. 2 levels by default. See #296...
rallek commented
what would be an easy way to get e.g. pills from a Content menue?
Guite commented
Maybe just override tableOfContentsView.html.twig
and add the desired bs class.
rallek commented
at on page Pills at another one Tabs? That is not possible I guess.
Guite commented
{% set currentSlug = app.request.query.get('slug', '') %}
<ul class="...{% if currentSlug == 'my-page' %} my-pills{% else if currentSlug == 'other-page' %} my-tabs{% endif %}">
...
Guite commented