Set allowed Components in Sourcecode of the Template ?? | Community
Skip to main content
Level 2
October 16, 2015
Solved

Set allowed Components in Sourcecode of the Template ??

  • October 16, 2015
  • 1 reply
  • 646 views

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.
Best answer by Ojjis

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
October 16, 2015

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