I’ve got a modular page template set up in my theme with a couple of modules.
When I create a modular page manually by creating the required files in my user/pages folder, everything works fine. Obviously this way I’m setting up the modular structure myself manually in modular.md.
When I try to create another modular page using Admin instead of dealing with the files, there seems to be a missing feature…
- I create the top level page as a modular page.
- I use the ‘Add’ button top right to add 2 modules to it, being careful to match the names of the modules I have.
- I add content to these modules.
- But when I view the page (after clearing the cache), it’s empty.
When I look at the top level page’s frontmatter in advanced mode, all the structure I would expect to see is not there. I’m referring to this:
content:
items: '@self.modular'
order:
by: default
dir: asc
custom:
- _text2col
- _text1col
So I had to paste it manually and save, and then the page rendered its content correctly.
This seems odd - it seems that Admin is not updating the modular page’s modular.md when you add modules? Surely it should do that?
As with my earlier post, I’m probably being a noob and missing something obvious!
NB. I’m using 1.7rc20.