Skip to main content
Level 2
Oct 16, 2015 2:26 AM UTC
Solved

Set allowed Components in Sourcecode of the Template ??

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Ojjis
OjjisAccepted solution
Level 7
Oct 16, 2015 2:26 AM UTC

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

1 reply

Ojjis
OjjisAccepted solution
Level 7
Oct 16, 2015 2:26 AM UTC

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

Translate