Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
"Recursive" Modular page
· 10 years ago
I see! Thank you! But then, what is the difference between modular pages and child pages? I didn't really get that yet :)
-
"Recursive" Modular page
· 10 years ago
Also in the near future including the Gantry framework will allow to have another abstraction level for this kind of things, by creating particles and assembling parts of a page very easily.
-
"Recursive" Modular page
· 10 years ago
You can still do that with regular pages, the only thing you need to do is to include the child pages and output their content. Just by iterating their child pages, like: {% for p in page.collection
-
"Recursive" Modular page
· 10 years ago
Thank you for your reply! Searching this forum for "nested modular" or "stacked modular" I found some comments by @rhukster being optimistic about the possibility it could work. Also the one-page skel
-
"Recursive" Modular page
· 10 years ago
I don't think nested modular pages are really going to work. Didn't try it yet, but the logic of a modular page does not really take that scenario in consideration.
-
"Recursive" Modular page
· 10 years ago
Hello and thank you for grav as well as for this forum. I am about to build my first theme. So far the excellent doc could help me a lot. However, now I am encountering the first problem I cannot solv
-
Modular page with collection in one of the modules
· 10 years ago
Thanks, I'll try that. I didn't know about the --- either so that's helpful.
-
Modular page with collection in one of the modules
· 10 years ago
And the answer it, is should work with a capsules.html.twig under the templates/modular/. You can also debug inside the capsules.md file directly, by adding process: twig: true to the page header,
-
Modular page with collection in one of the modules
· 10 years ago
Please include the code in triple backticks, or --- next time, to make sure the forum formats it readable. Re-posting it here below: I'm trying to make a modular page with a collection as one of the m
-
Modular page with collection in one of the modules
· 10 years ago
I'm trying to make a modular page with a collection as one of the modules. Something like this: Home Rotator (module 1) Tagline (module 2) Content (module 3) Capsules (collection of call to actions)