Expand my Community achievements bar.

SOLVED

Set allowed Components in Sourcecode of the Template ??

Avatar

Level 2

Is there a posibillity to define which components are allowed to place into the Page ? I mean that i could define in the sourcecode of the template, which components the user can use so that i dont have to use anymore the design mode and the Paragraph System for that.

1 Accepted Solution

Avatar

Correct answer by
Level 7

I'm not aware of a way of doing this but, you can certainly add the design properties on the highest possible lever for your template under /etc/designs/..
If you set the allowed components like

components / String[] / = group:MyComponents 

for your template node in /crx/de you don't have to define this further down in the hierarchy for other parsys in that template. Might not be exactly what you are after but might help you in some way :)

Regards
JOhan

View solution in original post

1 Reply

Avatar

Correct answer by
Level 7

I'm not aware of a way of doing this but, you can certainly add the design properties on the highest possible lever for your template under /etc/designs/..
If you set the allowed components like

components / String[] / = group:MyComponents 

for your template node in /crx/de you don't have to define this further down in the hierarchy for other parsys in that template. Might not be exactly what you are after but might help you in some way :)

Regards
JOhan