Content icon indicating copy to clipboard operation
Content copied to clipboard

enhancement for the menu plugin

Open rallek opened this issue 7 years ago • 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

rallek avatar Sep 08 '18 17:09 rallek

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

Guite avatar Sep 19 '18 06:09 Guite

what would be an easy way to get e.g. pills from a Content menue?

rallek avatar Feb 08 '19 19:02 rallek

Maybe just override tableOfContentsView.html.twig and add the desired bs class.

Guite avatar Feb 09 '19 07:02 Guite

at on page Pills at another one Tabs? That is not possible I guess.

rallek avatar Feb 09 '19 18:02 rallek

{% set currentSlug = app.request.query.get('slug', '') %}
<ul class="...{% if currentSlug == 'my-page' %} my-pills{% else if currentSlug == 'other-page' %} my-tabs{% endif %}">
...

Guite avatar Feb 09 '19 19:02 Guite

For reference: https://github.com/bootstrapthemesco/bootstrap-4-multi-dropdown-navbar

Guite avatar Jan 05 '20 13:01 Guite