Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Can modular pages have a custom blueprint?

Started by Muut Archive 9 years ago · 1 replies · 1061 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 2269 9 years ago
Archive · by Muut Archive, 9 years ago
2 1493 9 years ago
Archive · by Muut Archive, 9 years ago
2 4739 9 years ago
Archive · by Muut Archive, 9 years ago
1 3552 9 years ago
Archive · by Muut Archive, 9 years ago
3 1618 9 years ago