zikula-modules/Content

enhancement for the menu plugin

Opened this issue · 6 comments

Feature request:
I want to have similar options for the menu plugin as they are available for the blocks module:
image
May be all properties can be added, but at least I would like to see the choice of the nav style (e.g. navbar)

Currently there is no option for that:
image

Guite commented

This will probably cause problems as soon as you have more than max. 2 levels by default. See #296...

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.

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 %}">
...