Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

enhancement for the menu plugin #299

Open
rallek opened this issue Sep 8, 2018 · 6 comments
Open

enhancement for the menu plugin #299

rallek opened this issue Sep 8, 2018 · 6 comments
Labels
Milestone

Comments

@rallek
Copy link
Contributor

rallek commented Sep 8, 2018

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 Guite added this to the Future milestone Sep 8, 2018
@Guite Guite added the Feature label Sep 8, 2018
@Guite
Copy link
Member

Guite commented Sep 19, 2018

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

@rallek
Copy link
Contributor Author

rallek commented Feb 8, 2019

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

@Guite
Copy link
Member

Guite commented Feb 9, 2019

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

@rallek
Copy link
Contributor Author

rallek commented Feb 9, 2019

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

@Guite
Copy link
Member

Guite commented Feb 9, 2019

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

@Guite
Copy link
Member

Guite commented Jan 5, 2020

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants