Hi, I want to create a page template Project that has already two sections pages created, called Discography and News. The user will have the possibility to create subpages for each of those pages. Can you help me to do that or point me in the right direction. Thank you in advance
You need help with the blueprint? If that’s what you need you can start with a
site/blueprints/pages that looks something like this
# Page Settings title: Project # The two sections sections: # The Discography Section discography: label : Discography type : pages templates : disc # The News Section news: label : News type : pages templates : news
check out the
Thank you, I tried this, but my trouble is that I use the listed subpages and the Discography and News subpages are then mixed on the same level. I will look at the subpages builder
Well, the subpages builder and the blueprint I posted tackle the problem in different ways.
With my approach, you’ll end up with a structure that looks something like this:
/project news-a.txt news-b.txt news-c.txt disc-a.txt disc-b.txt disc-c.txt
Since both of those sections will share the same parent page the end result will obviously be a folder with a mix of content in there.
If you go down the subpage builder then you’ll have a different folder structure and also different URL structure because it will look something like this
/project /news news-a.txt news-b.txt news-c.txt /discography disc-a.txt disc-b.txt disc-c.txt
Both are fine, it depends what you want to achieve and how you want to structure your site
Thank you, I think for the user the second solution is more convenient.
You can also mix the two approaches if you prefer.
I still need a little help with this… I use the subpage builder that is great. I have 3 tabs, project | discography | news
in the project i use
elements: type: pages create: false delete: false templates: - discs - news
and I would like to have the disc from discs in the tabs discography as cards
I tried to call a section like this
tabs: extends: tabs/project discography: discography: label: Discography extends: sections/discs status: listed
and the section discs
title: Discography icon: bolt type: pages label: Mes discography parent: kirby.page("project") size: small layout: cards template: discs empty: No record yet
Can you help me, thank you in advance
anyway, I think the method with the subpage builder is to next level for me now… I will do otherwise.