Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
Default options when creating pages in Admin Panel
· 10 years ago
that didn't work for what I wanted but the example and further reading in manual helped me figure it out. so I added two lines in the /user/plugins/admin/blueprints/admin/pages/new.yaml data-opt
-
Default options when creating pages in Admin Panel
· 10 years ago
thank you!
-
Default options when creating pages in Admin Panel
· 10 years ago
Put that snippet above in user/themes/[yourtheme]/blueprints/default.yaml, it should work automatically - in Grav 1.1
-
Default options when creating pages in Admin Panel
· 10 years ago
I'm reading the blueprints area now of manual, if you have a specific page or link with more specific details please share.
-
Default options when creating pages in Admin Panel
· 10 years ago
thanks for that info, I'm not sure where to add a blueprint.yaml exactly. Is this documented somewhere so I can read and use it all properly?
-
Default options when creating pages in Admin Panel
· 10 years ago
Yes add a default.yaml in your template's blueprints/ folder, like title: Default '@extends': type: default context: blueprints://pages form: fields: tabs: type: tabs field
-
Default options when creating pages in Admin Panel
· 10 years ago
Is this possible now, with the latest updates? For my usecase I want to have a default settings for Add Page to select a specific Parent Page and Page Template. Then have the frontmatter area pre-defi
-
Default options when creating pages in Admin Panel
· 11 years ago
Thanks!
-
Default options when creating pages in Admin Panel
· 11 years ago
Done
-
Default options when creating pages in Admin Panel
· 11 years ago
There is no way currently although that is an interesting idea.. If you can add it to the Grav Admin plugin issues list, i can make sure it stays on the radar: https://github.com/getgrav/grav-plugin-a