Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

How to tell a page to use a type of blueprint?

Started by Muut Archive 10 years ago · 4 replies · 446 views
10 years ago

If I'm using the admin plugin to create pages, how can I choose the type of blueprint I want to use when making a new page? I can choose the template when creating but not the blueprint... am I missing something?

10 years ago

Hey thanks for that - but I don't think that answers my question. What I want to do is go into the admin and go 'create new page' and then choose the page blueprint so it shows the right form... how does the page know which blueprint to choose from? I can't work that out...

10 years ago

The blueprint is the same as the template. Use the same name for both.
The template defines how the frontend looks, the blueprint how the admin form looks.

10 years ago

Ahhh thanks Flaviocopes. That sorts it out then. So if there is no blueprint named the same as the template, it then goes to the default I assume. Thanks.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1357 9 years ago
Archive · by Muut Archive, 9 years ago
2 936 9 years ago
Archive · by Muut Archive, 9 years ago
2 4066 9 years ago
Archive · by Muut Archive, 9 years ago
1 2954 9 years ago
Archive · by Muut Archive, 9 years ago
3 1120 9 years ago