I need to extend the foundation reference component. All I need to add is an additional <icon> element above the normal content so that the authors know it's a reference and not a regular component. Is there a way to do that without including the foundation component in the custom reference component? Javascript is not a viable solution either.
CQ. 5.6.1
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
Thanks, I finally solved this by adding a css class to the decoration div.
Views
Replies
Total Likes
Where do you need to add this additional icon... If you need to change icon of the component that is visible in sidekick, it should just work if you specify resourceSuperType in custom component and add new icon to your custom component.
Views
Replies
Total Likes
The icon needs to be just above the reference content and it should be visible only in the author environment, even after the path for the reference has been specified in the dialog. So I'm not referring to the sidekick icon for the reference component.
yhanks
Views
Replies
Total Likes
Then only way I see it is extending it and have your own rendering jsp.
Views
Replies
Total Likes
Thanks, I finally solved this by adding a css class to the decoration div.
Views
Replies
Total Likes
Views
Like
Replies
Views
Likes
Replies