Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
Navigation Problem
· 11 years ago
it 'could' be that your looping over the pages and using page which is already a variable assigned to the Twig environment. Try changing this page variable to p or something more unique.
-
Navigation Problem
· 11 years ago
Sorry for the code.. Sadly, I can't provide you a demo because it's under a .dmz . The menu works only on the main pages.
-
Navigation Problem
· 11 years ago
Also please, please, please paste big blocks of code between triple back ticks (```)
-
Navigation Problem
· 11 years ago
I was following ok up to this line: @valen I know what the problem is, just want to render the same menu on the sub pages with modular content corresponding to there main page. What does this mean?
-
Navigation Problem
· 11 years ago
I have a really complex navigation with: main pages > sub pages > sub pages with moduler content My navigation just works fine with this code on the main pages: {% for page in pages.children %}
-
LOGO Changes
· 11 years ago
If you change something in a theme that is part of the theme, then yes it will get overwritten. The best approach is to use theme inheritance Then you only provide stuff you want to override/change i
-
LOGO Changes
· 11 years ago
I just had this happen when updating the SoraArticle theme. My logo change disappeared. Still getting used to how I can customize a theme I guess. :)
-
LOGO Changes
· 11 years ago
I assume any changes to a theme, like adding a logo, would be over-written when the theme is updated?
-
LOGO Changes
· 11 years ago
sorted it, thanks for the point in the right direction.
-
LOGO Changes
· 11 years ago
Thanks. Still lost though - I am slightly challenged with code, but learning - This is what I have in base.html.twig <header id="header"> <div> {{ config.site.logo }} <img src="{{ baseu