Pre fill ContentBlocks fields?

Hello,

Is there a way to pre-fill ContentBlocks fields ?
For example, I have a heading that will have on most resources the same value. I would like to prefill it with this value to avoid the user wasting time : he will change the value only of the few resources concerned.

Hi Romain,

That’s possible if you’re using Templates. These can be created via the ContentBlocks component and contain a combination of layouts and fields, and any values stored there will also be injected automatically: https://www.modmore.com/extras/contentblocks/documentation/templates/

Yeah, I’m so stupid. I use templates already, but I don’t know why, I was searching this in the fileds options whereas the solution was very obvious.

Thanks and sorry !

No problem :slight_smile: Always happy to point in the right direction.