We are customizing aem core carousel component, we have created a proxy component from where we doing resource supertype to core carousel v1 component. We want to override the markup of this component. But the issue is, when we override the markup, the “panel” selection option is not visible in the authoring dialog. I mean the panel icon after the first icon in the authoring dialog. Look at the screenshot. It looks like markup is tightly coupled with when panel selection visibility. Is there any way that we can override html and retain the panel selection option? What would be the bare minimum we need from the core carousel component to achieve this. Any pointers will be highly appreciated.
Core carousel - notice 2nd-panel icon (after ranch option)
2nd-panel icon not visible here
Solved! Go to Solution.
@karanmahi If you want to write your own HTML, those things will not work so easily.. As of i know, those features are tightly coupled with html classes and data-* attributes.
Below are few clientlibs, you need have to make Childreneditor and PAnel select work along with HTML(classes and data-*).
childreneditor - /apps/core/wcm/components/commons/editor/dialog/childreneditor/v1/childreneditor
editor - /apps/core/wcm/components/carousel/v1/carousel/clientlibs/editor
editorhook - /apps/core/wcm/components/carousel/v1/carousel/clientlibs/editorhook
panelcontainer - /apps/core/wcm/components/commons/editor/clientlibs/panelcontainer
panelselect - /apps/core/wcm/components/commons/editor/clientlibs/panelselect
@karanmahi If you want to write your own HTML, those things will not work so easily.. As of i know, those features are tightly coupled with html classes and data-* attributes.
Below are few clientlibs, you need have to make Childreneditor and PAnel select work along with HTML(classes and data-*).
childreneditor - /apps/core/wcm/components/commons/editor/dialog/childreneditor/v1/childreneditor
editor - /apps/core/wcm/components/carousel/v1/carousel/clientlibs/editor
editorhook - /apps/core/wcm/components/carousel/v1/carousel/clientlibs/editorhook
panelcontainer - /apps/core/wcm/components/commons/editor/clientlibs/panelcontainer
panelselect - /apps/core/wcm/components/commons/editor/clientlibs/panelselect
Views
Replies
Total Likes
I customized tabs component, with cmp-tabs class and data-cmp-is attributes so ended up customizing, children editor, panel selector.js, with all new html, all js files..
Also you need to develop one servlet for add/delete/move in childreneditor
Views
Replies
Total Likes
If the carousel.html is overridden and customized in a project , the select panel option doesn't work.
In this case we need to make sure that the data attribute (panelContainer) is retained in the carousel.html from the core carousel component. And then the select panel option would appear for the custom carousel as well.
@arsahu - The "Select Panel" option will appear but it will not toggle to the corresponding element. Were you able to fix that issue as well ?
Views
Replies
Total Likes
@Rohan_Garg I am also unable to toggle to the corresponding element. Can you please give the solution to fix this issue?
Views
Replies
Total Likes
Views
Likes
Replies