0
votes

Starting out with AEM by using CRXDE, and making a structure component for a header hero component that will show a title and subtitle.

I wanted to add a cq:dialog by just copying the libs/wcm/foundation/components/title/cq:dialog component, and pasting it inside the hero component. There are two values: jcr:title and jcr:subtitle. When it comes to those values, they do display if I manually add them to my page from the contents directory.

The problem that I am facing is that the dialog is not showing at all when I hover over the hero area of the website from the editor.html view.

Is there something I am doing wrong?

1
I am not 100% sure what you are trying to do. You want to have a hero component but you copied the dialog of the "title" component. This dialog does not contain a field for jcr:subtitle. Can you please provide more information about your component. Especially what JCR nodes you have: component node and all its child nodes.Jens
I am just trying to get the dialog to show up for the authors. The end goal is to get a dialog which I just copied the title one as a template then I'll be modifying it to add more fields like the subtitle one I mentioned. Apparently I got it to work when I added the cq:EditConfig node, but I had seen it done without it from a video. I would link the video, but it is from a paid member website (Pluralsight).Jeremy Trpka

1 Answers

2
votes

Do not use jcr:subtitle. This property name appears to be outdated/invalid and will most likely throw an exception related to the node type definition. Simply use subtitle and you should be fine.