Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
Form Validation: Required Value for Select Box with Default Option
· 9 years ago
Here's what I have at the moment: ---yaml name: province id: province label: Province type: select options: default: Select Your Province AB: Alberta BC: British Columbia MB: Manitoba NB: New Brunswic
-
Form Validation: Required Value for Select Box with Default Option
· 9 years ago
I'm in the process of building a form in Grav, and I have a select box of Canadian provinces. I want to make sure that the user is specifying their province, so I have a default placeholder "default:
-
Multiple page blocks
· 9 years ago
There is not but you can use the Sections shortcode to split your content into different areas: https://github.com/getgrav/grav-plugin-shortcode-core#section
-
Multiple page blocks
· 9 years ago
Is there a way with Grav's admin tool when editting the content of the page to have multiple entry boxes. For example to have a headerbox, content and footerbox for end users to add content?
-
Group blog items by year -> redirect and appearance question
· 9 years ago
Also you can set published false in those year pages Thats the first thing i tried. if i remember correctly that resulted in the subpages not being published by default, or not at all How are you addi
-
Group blog items by year -> redirect and appearance question
· 9 years ago
There's another issue (?) with this approach. Using Grav as blog with folders to group posts your pagination will work only with posts inside that folder.
-
Group blog items by year -> redirect and appearance question
· 9 years ago
@Smash, How are you adding two items to the same content? I've tried changing the md file and using the admin but it seems not possible with a vanilla installation. Also, using folders I've found tags
-
Group blog items by year -> redirect and appearance question
· 9 years ago
Also you can set published false in those year pages.
-
Group blog items by year -> redirect and appearance question
· 9 years ago
This does work: content: items: '@page.descendants': /blog/2017 '@page.descendants': /blog/2018 What doesn't work is using a wildcard Thank you for your input, rhukster! And thank you barbanet for p
-
Group blog items by year -> redirect and appearance question
· 9 years ago
Perhaps it's even possible to use a wildcard here... '@page.children': ‘/blog/* --> Off to test it out