Placing default components in an iParsys
We have a default set of header and footer components that we want to
display on every page.
In my template files, I have lines like the following to include
components automatically:
<cq:include path="thecomponent" resourceType="/path/to/component" />
However, the options for the components are not inherited down to child
pages, so our users would need to rebuild their headers and footers every
time they make a new page. In my template file, is there a way to place
these components in an iParsys automatically?
This attempt was not successful, but I think it illustrates what I want to
do:
<cq:include path="PageTop"
resourceType="/libs/foundation/components/iparsys">
<cq:include path="thecomponent" resourceType="/path/to/component" />
<cq:include path="theOthercomponent"
resourceType="/path/to/other/component" />
</cq:include>
No comments:
Post a Comment