Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Modular Menus

Started by Muut Archive 11 years ago · 5 replies · 511 views
11 years ago

Curious, I understand how Modular pages work, but what I don't get is why they take over the main menu. Here is what I want ...

Home
. | Modular Page 1
. | Modular Page 2
. | Modular Page 3
About Page
Blog Page
. | Blog Post 1
. | Blog Post 2
. | Blog Post 3 ... etc
Gallery Page
Contact Page

This isn't too dissimilar from the GetGrav site.

My site is off to a good start, BUT when I change the Home Page to a Modular template (to begin the modular creation process) it confiscates the Main Menu for its own sub-pages and the About, Blog, Gallery and Contact pages are no longer in the menu.

I'm sure I've missed something somewhere ... Suggestions?

Brian U.

11 years ago

Second problem ... the Display Templates (for Showcase, Feature and Text), to begin creating the modular sub-pages, do not show in the admin dropdown.

I am utilizing inheritance on the site, could that be an issue?

11 years ago

Hi
I have the same issue
If I add modular page on home page (to ad showcase picture) my main menu become modular page sub pages

my pages
http://i62.tinypic.com/9kqekm.png

my test site
http://grav.en-toutes-lettres.fr/

Also it seems that i cannot manage modification on Home page because if I edit home page
http://i61.tinypic.com/2ypayw5.png
I cannot select modular page on dropdown
==> modular.md of Home page is replaced by the first line of the dropdown blog.md

11 years ago

Thanks
I just add
onpage_menu: false
on modular.md file and it is OK now

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1336 9 years ago
Archive · by Muut Archive, 9 years ago
2 925 9 years ago
Archive · by Muut Archive, 9 years ago
2 4056 9 years ago
Archive · by Muut Archive, 9 years ago
1 2941 9 years ago
Archive · by Muut Archive, 9 years ago
3 1112 9 years ago