Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Blazej Member
@blazejs · Joined 4 years ago · 15 posts · 2 topics · 1 reputation
Badges
Recent posts
-
Context menu - how to get a current branch from the whole menu tree?
· 4 years ago
Thank you very, very much! This is exactly what I wanted to get. This one line made the difference: @pamtbaau: {% set toplevelPage = pages.find('/'~uri.paths[0]) %} The number in brackets ([0]) sets
-
Context menu - how to get a current branch from the whole menu tree?
· 4 years ago
How can I get the top level parent? Generally I was trying something that, but on the top level page it was displaying also full top level navigation.
-
Context menu - how to get a current branch from the whole menu tree?
· 4 years ago
Hello and thank you for your responses Well, the trial and errors method I have managed to do something like this: http://popcold.artscape.pl/klimatyzacja This is the top level page with the biggest a
-
Context menu - how to get a current branch from the whole menu tree?
· 4 years ago
Hello and thank you for your reply I want that menu to be placed in the sidebar. So if a page has no children I will display there a text block. By 'active indicator' I mean adding a class 'active' so
-
Context menu - how to get a current branch from the whole menu tree?
· 4 years ago
Hello I'm new here so welcome everybody. First I have to admit I'm not a programmer. I'm rather a kinda old-school webmaster, doing a bit of everything, but never managed to really learn PHP. Grav is