i’m very new with grav and i KNOW this is what i was looking for for years
But, despite i’ve read some tutorial, i can’t have a workins modular page on the website.
I think, i did the right things on the admin panel but it’s obvious i didn’t
I have no modular.html.twig file in my directory. So i created one with inside:
{% for module in page.collection() %}
{{ module.content|raw }}
{% endfor %}
And it did help!
But how do i indicate on the primary page (with admin panel) to create a collection so that i don’t need to create the file modular.html.twig myself ?
forget about the modular.html.twig file. It already exists where it has to.
I just make my main modular page visible and all the modular stuffs appears.