Search code examples
adobeaem

Missing Dropdown in Component Styles Tab in CQ5


In the TextImage component, the Style tab has lost the css selection dropdown that used to show up when editing the component. It now just shows a blank area. It should have a dropdown for image alignment (left or right are your choices). This doesn't appear anymore.

This tab is xtype componentstyles (String), so I don't know where it references the source for the dropdown values. My local instance of CQ5 works just fine.

I cannot just add an xtype selection and feed it values because the css that gets added to the JSP code is outside the component's .jsp-specific page


Solution

  • The problem is that a design path variable went missing. We don't know why or how, but the solution is as follows.

    • Open up Content Repository

    • Go to /content/-sitefolder-/ and expand

    • Click on jcr:content and view properties

    • Check for attribute cq:designPath and its value /etc/designs/-sitefolder-; add to properties if it doesn't exist