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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Archive

Learn2 Menu Customisation

Started by Muut Archive 9 years ago · 0 replies · 1059 views
9 years ago

Still starting with Grav and no Twig experience, so apologies, this is probably a basic question.

I'm using Learn2 theme. I'm essentially trying to fake multi-site by having top level pages not on the menu. Access the top level page from the URL and then for the menu to show the sub-pages and sub-sub pages etc as the structure.

I tried, but just can't restrict the menu to only display links belonging to the active top level page. If this is something simple enough and someone could post a snippet of some sort, I would be very grateful! Thanks!

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1277 9 years ago
Archive · by Muut Archive, 9 years ago
2 885 9 years ago
Archive · by Muut Archive, 9 years ago
2 4014 9 years ago
Archive · by Muut Archive, 9 years ago
1 2891 9 years ago
Archive · by Muut Archive, 9 years ago
3 1074 9 years ago