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.

Forms & Blueprints

Extending an extended blueprint

Started by Brendan Petty 7 years ago · 2 replies · 876 views
7 years ago

I'm struggling with the blueprint extend syntax as per https://learn.getgrav.org/16/forms/blueprints/advanced-features

How can I extend a blueprint which is extending another? Quark-open-publishing theme extends the Quark theme. I'm wanting to extend Quark-open-publishing, but the blueprint that gets extended seems to be Quark's base. There doesn't seem to be any documentation around the context blueprints:// syntax to know where to put in the explicit reference to which 'blog' blueprint I wish to extend.

7 years ago

I just proposed some documentation for it, ostensibly the same as here: /forum/forms-blueprints/importing-blueprint-does-not-work-what-does-context-do-mean-t8418?u=olevik.

You'll need type to refer to the file, and context to resolve to Quark Open Publishing. Are you streams setup as such?

👍 1
7 years ago

Ok, thank you! Got it working now with

extends@:
type: item
context: user://themes/quark-open-publishing/blueprints

Your comment on /forum/forms-blueprints/importing-blueprint-does-not-work-what-does-context-do-mean-t8418 was the most helpful for me, always best to see an example or two (I hadn't come across that thread in my searching yesterday)

Suggested topics

Topic Participants Replies Views Activity
Forms & Blueprints · by Ton Haarmans, 5 years ago
13 1145 4 months ago
Forms & Blueprints · by Hugo Oliveira, 5 months ago
0 67 5 months ago
Forms & Blueprints · by Flachy Joe, 6 months ago
9 142 6 months ago
Forms & Blueprints · by Augustus, 7 months ago
7 118 7 months ago
Forms & Blueprints · by Julien, 7 months ago
10 136 7 months ago