Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
flavio Member
@flavio · Joined 9 years ago · 58 posts · 0 topics · 22 reputation
Badges
Recent posts
-
Modular page: link to next sibling
· 9 years ago
nextSibling is not returning anything? Or it returns the same value as prevSibling?
-
How to use Collection::ofType
· 9 years ago
Looks right. If your page has a home_introduction.md modular child page, it should show up. Is it in a folder starting with an _ (underscore)? Can you paste the page structure as well?
-
How to use Collection::ofType
· 9 years ago
The first example seems fine. What's your page structure? (a screenshot is fine)
-
How to use Collection::ofType
· 9 years ago
@ontime: {% for tile in page.collection().ofOneOfTheseTypes({'home_introduction', 'home_item'}) %} {{ tile.content }} {% endfor %} Collection::ofOneOfTheseTypes() accepts an Array. You're passing a (
-
Modular page: link to next sibling
· 9 years ago
Hi, I think this depends on the collection ordering. Can you paste the parent page header?
-
Where is new Plugin - Admin Add On User Manager?
· 9 years ago
Thanks for reporting, we'll find out why!
-
Collection of modular children in a module > answer
· 9 years ago
The original, not working code was (for reference) <ul class="list-inline"> {% for page in page.collection %} //... {% endfor %} </ul> If just changing the for
-
Editor Buttons 1.2.0 update not shown
· 9 years ago
Thanks for reporting, I re-released it!