I am trying to disable the dialog for a component when it is included on a page template using a data-sly-resource. The component has the dialog but should be disabled only when it is referenced on a page. Please suggest on how to achieve this.
Solved! Go to Solution.
Views
Replies
Total Likes
Try this
<div data-sly-resource="${'path/to/resource' @ wcmmode='disabled'}"></div> |
Views
Replies
Total Likes
Try this
<div data-sly-resource="${'path/to/resource' @ wcmmode='disabled'}"></div> |
Views
Replies
Total Likes
I actually want to reference a page-component(which is developed on a different page template) on a particular page template and dont want to make it editable except in the actual location.
For example: A footer which is developed on a page and included on other templates.
Views
Replies
Total Likes
See the five blog entries here for Sightly:
http://blogs.adobe.com/experiencedelivers/experience-management/sightly-intro-part-1/
http://blogs.adobe.com/experiencedelivers/experience-management/sightly-intro-part-2/
http://blogs.adobe.com/experiencedelivers/experience-management/sightly-intro-part-3
http://blogs.adobe.com/experiencedelivers/experience-management/sightly-intro-part-4/
http://blogs.adobe.com/experiencedelivers/experience-management/sightly-intro-part-5/
Views
Likes
Replies
Views
Like
Replies