2 Replies Latest reply on Oct 20, 2012 3:50 PM by Sham HC

    Text and Image component Image placing not working!

    cqlearner Level 1

      Hi Guys,

       

      For some odd reason, when I drop text and image component to the page I do not see the left or right option to place image in "Styles" tab.  The styles tab shows blank and by default paragraph gets placed after image.  This only happens in my site, not in Geomatrix. Am I missing something to include??

       

      Thanks in advance.

        • 1. Re: Text and Image component Image placing not working!
          rush_pawan Level 4

          geometrixx site has extended the text&image component thats why it shows that option. earlier in 5.4 version they directly overrided in geometrixx apps but now you wont find it there. But if you want to achieve this functionality then you have to override same component locally in your apps and add some more configuration to style tab as below.

           

          <tab4

                      jcr:primaryType="cq:Widget"

                      xtype="componentstyles">

                      <items jcr:primaryType="cq:WidgetCollection">

                          <controlstyle

                              jcr:primaryType="cq:Widget"

                              fieldLable="ControlStyle"

                              name="./ControlStyle"

                              title="ControlStyle"

                              type="select"

                              xtype="selection">

                              <options jcr:primaryType="cq:WidgetCollection">

                                  <Left

                                      jcr:primaryType="nt:unstructured"

                                      text="Left Align"

                                      value="left"/>

                                  <Right

                                      jcr:primaryType="nt:unstructured"

                                      text="Right Align"

                                      value="right"/>

                              </options>

                          </controlstyle>

                      </items>

                  </tab4>

          • 2. Re: Text and Image component Image placing not working!
            Sham HC Level 7

            Might be<page_path>/jcr:content missing the property cq:designPath. Please add the design to page.

            1 person found this helpful