Announcement

Collapse
No announcement yet.

Fragment Layout Vertically centred text with images above

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Fragment Layout Vertically centred text with images above

    Whilst I can, with the Product Layout, use the Layout with Vertically centred text with images above, there is nothing in the Fragment layout.

    Only Left of text, right of text etc. How do I create a new fragment with the text centred please

    Thank you

    Andrew

    #2
    In the design tab, on the contents tree, click an existing fragment that you want to change layout of, and in Fragment Details bottom left, in the Layout tab, use the layout selector - at the bottom of the list, select <new>.

    Name the new layout and select either of the existing image left or image right fragment layouts for "based on". Apply and make sure the new layout is shown as selected for your fragment.

    Click the layout code tab, and alter the code (or copy and overpaste)
    Code:
    <actinic:block if="%3cactinic%3avariable%20name%3d%22FragmentAnchor%22%20%2f%3e%20!=%20%22%22">
    <a name="<actinic:variable name='FragmentAnchor' />"></a>
    </actinic:block> 
    <table width="100%" cellspacing="0" cellpadding="10" border="0">
       <tr>
          <td width="100%" valign="top" align="center">
             <actinic:variable name="FragmentImage" />
    			<br/>
                   <b><actinic:variable Name="FragmentTitle"/></b>
             <br />
             <actinic:variable Name="FragmentText"/>
          </td>
       </tr>
    </table>
    I've implemented this on the About Us page at BC Ness.
    Last edited by wjcampbe; 31-Dec-2006, 01:37 PM. Reason: change instructions so they can be replicated
    Bill
    www.egyptianwonders.co.uk
    Text directoryWorldwide Actinic(TM) shops
    BC Ness Solutions Support services, custom software
    Registered Microsoft™ Partner (ISV)
    VoIP UK: 0131 208 0605
    Located: Alexandria, EGYPT

    Comment


      #3
      Still no luck

      Thanks Bill for your reply.

      I am unable to do this for some reason. I am using V8.04 . Will this make a difference?

      I cannot select new only in Product and not fragment

      Andrew

      Comment


        #4
        I am also using 8.0.4 and just tried again using the right click in content tree and could not duplicate my own post, but was able to select <new> as an option in the Fragment Details - Layout tab.
        Bill
        www.egyptianwonders.co.uk
        Text directoryWorldwide Actinic(TM) shops
        BC Ness Solutions Support services, custom software
        Registered Microsoft™ Partner (ISV)
        VoIP UK: 0131 208 0605
        Located: Alexandria, EGYPT

        Comment


          #5
          I create new layouts by going to Design Library.

          ie in this case go to Design library, Layout tab, fragments, right click on a fragment layout and create new layout, give it a unique name ie centredfragement.

          Then paste Bills code into this fragment.

          then apply this layout to the appropriate fragment

          Comment


            #6
            Thanks

            Thanks Bill & Jo. Just what I needed and it is working a treat now.

            Thanks once again

            Andrew

            Comment

            Working...
            X