What is the recommended approach for a site header; footer components wherein ask is to author the global components only once at home page and all the pages under the site will reuse the content. A design dialog will save authored content under /etc/designs and pages with same template will simply pick them. Similar requirement can be acheived using iparsys also. Which is the recommended approach?
With design dialog,
/etc/design.However the issue is, the author needs to configure this component in each template separately if there is more than one template for the site.
But with iParsys, if all your templates include the iParsys with the same name, then authoring the component on the parent page would make it available for all the child pages.
There are various other ways also through which this can be achieved.
InheritanceValueMap instead of ValueMap to read the configurations of the component from the parent/home page.I cannot say that this is the right approach. However given so many possibilities, pick the one which most suits your needs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With