Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add onpage_menu option in the admin for modulars #91

Open
olivierdalang opened this issue Feb 1, 2017 · 3 comments
Open

Add onpage_menu option in the admin for modulars #91

olivierdalang opened this issue Feb 1, 2017 · 3 comments

Comments

@olivierdalang
Copy link
Contributor

Hello !

The onpage_menu option is missing in the admin, making it impossible to use modular pages on non-single pages websites without editing the pages manually.

It's a bit confusing for newbies too, as one wouldn't really expect the navigation to change depending on the template.

Thanks

@flaviocopes
Copy link
Contributor

#92 addresses this problem. Can you test it?

@Eggeriley
Copy link

I am having the same problem, i cannot use a modular page unless it is only a one page site. I have tried editing the modular.html.twig file and i have tried adding menus to the site.yaml file, even if the menu's appear, they only work if i right click and "open in new tab" am i missing something?
I am trying to create a modular homepage with a secondary nav that goes to the different portions of the site, also i have a primary nav, which is the default antimatter nav menu, i want to have two separate non modular pages display there.

@flaviocopes
Copy link
Contributor

@Eggeriley I don't think it's the same problem?

they only work if i right click and "open in new tab"

this looks like a CSS issue

Secondary nav is not something baked into the theme. You can have the normal site navigation using onpage_menu: false on the modular page header.

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

No branches or pull requests

3 participants