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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Archive

Can modular pages have a custom blueprint?

Started by Muut Archive 9 years ago · 1 replies · 942 views
9 years ago

I have a modular template named 'cta_block.html.twig' and a blueprint named 'cat_block.yaml' that defines custom fields for creating call-to-action blocks. I can see and assign the 'Cta block' template to the modular page when creating it, but after I assign the template and save the modular page I don't see the custom form fields that I defined in the blueprint.

9 years ago

I resolved this. Blueprints for modular subpages have to go in the blueprints/modular folder. I had mine in the blueprints folder. It's obvious now that I think about it.

👍 1

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1282 9 years ago
Archive · by Muut Archive, 9 years ago
2 889 9 years ago
Archive · by Muut Archive, 9 years ago
2 4019 9 years ago
Archive · by Muut Archive, 9 years ago
1 2894 9 years ago
Archive · by Muut Archive, 9 years ago
3 1078 9 years ago