statamic / ideas

💡Discussions on ideas and feature requests for Statamic
https://statamic.dev
32 stars 1 forks source link

Default blueprint #281

Open wm-simon opened 4 years ago

wm-simon commented 4 years ago

It would be nice, to mark a blueprint as default, which will be loaded, when a new blueprint gets added. I often have a default blueprint with several tabs and imports. The other blueprints have the same fields like the default with additional fields.

jesseleite commented 4 years ago

What about using fieldsets for those reusable default fields?

wm-simon commented 4 years ago

I use fieldsets for nearly all. But our websites are mostly a little complex and we use normally about 4-6 tabs. Right now, that's what you have to do for every tab:

  1. Add tab
  2. Name tab
  3. Click link fieldset
  4. Chose fieldset
  5. Confirm fieldset

This is just with 1 fieldset per tab. So you are about 20-30 clicks plus renaming, what could be handled with a default blueprint. My pages have about 8-20 blueprints, so in my case, it would save a lot of time.

jasonvarga commented 4 years ago

You could create a starting point blueprint yaml file, then whenever you want to create a new blueprint, duplicate that file.

j3ll3yfi5h commented 2 years ago

Similar issue here. Splitted one huge Collection in 26 smaller ones, but they should all use the same blueprint (which has different sections). There seems currently no solution, to just use the blueprint from the parent folder... Is that right?

andjsch commented 2 years ago

If it is the same blueprint, you could probably work around it by using symlinks if it's the same blueprint every time.

j3ll3yfi5h commented 2 years ago

Working with symlinks could work, you're right. Went for copy and paste for now... 🫣