The components page section on parsys explains that you can set the sidekick's Allowed Components for a parsys by clicking Design Mode (ruler icon) in sidekick, then clicking Edit on the parsys and putting a checkmark on the components you want. We are defining templates for our authoring users and I don't want them to have to go through that effort for every page. I want to define something at the Template level which specifies the Allowed Components so that the user can use WCM New Page and the parsys on the page will already be set up right. How do I do this?
Our template has sling:resourceType=/apps/hello/components/ourpage, and ourpage has a JSP which specifies:
<cq:include path="par" resourceType="hello/components/ourparsys"/>
We just copied ourparsys from the foundation parsys. Inside it has a design_dialog, which I double-clicked in CRXDE Lite and I see the Design View ("Edit Component," "ParSys (Design)"). I put a checkmark on one of the Allowed Components, clicked Save, but the checkmark was not saved. When I closed this view and double-clicked the design_dialog again, the checkmark was gone, and when I went to WCM Websites and made a New Page from our template the sidekick still did not show our desired component.
So please advise, is there any way to set Allowed Components so it will take effect on all New Page webpages made from a given template?
Allowed component is part of design. Make sure to configure the property "components" as type string with list of all the components. As an example for geometrixx you can refer .
From firebug console what is the error you are getting when you checked and save from felix console?
Thanks, I was expecting to define this on the Template but you are completely right, it is the Designer in /etc/designs. One thing I noticed that I want to point out to people is that when I edit a New Page instance in Design View, click Edit on a par, that it does in fact create this property "components" on the par inside /etc/designs/ourdesign, but it uses type String instead of String Multi. So I deleted the scalar "components" and remade a new array "components" property with String Multi.
Europe, Middle East and Africa