Announcement

Collapse
No announcement yet.

Fragment layout.

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

    Fragment layout.

    Hi all,

    I'm attempting to use a layout that will give two fragment products alongside each other. I've changed the width so they fit, but when using the below code, I get the same product on the same line instead of the next product. eg.,

    product A | product A
    product B | product B
    product C | product C
    product D | product D

    Instead of:

    product A | product B
    product C | product D

    The code I'm using:

    <body>
    <table width="480" border="0">
    <tr>
    <td>

    <!-- Product 1 -->
    <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="48%" cellspacing="0" cellpadding="10" border="0">
    <tr>
    <td width="25%" valign="top" align="center">
    <actinic:variable name="FragmentImage" />
    </td>
    <td align="left" width="75%" valign="top">
    <actinic:variable Name="FragmentText"/>
    </td>
    </tr>
    </table>
    </td>
    <td>


    <!-- Product 2 -->
    <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="48%" cellspacing="0" cellpadding="10" border="0">
    <tr>
    <td width="25%" valign="top" align="center">
    <actinic:variable name="FragmentImage" />
    </td>
    <td align="left" width="75%" valign="top">
    <actinic:variable Name="FragmentText"/>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    </table>


    Anyone any idea how I can fix this?

    Thanks all,
    Simon
    Simon Williams
    Actinic Designer v.8.5.2.0.0.0.HMVA


    #2
    Remove the product 2 code(or revert to a standard layout), go into the settings and set the number of product columns to 2.
    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
      Hi Bill,

      Thanks for that -- the columns in question are on the 'Home' page, and changing the column count for products doesn't change this.

      Any other idea where I can change this?

      Thanks
      Simon
      Simon Williams
      Actinic Designer v.8.5.2.0.0.0.HMVA

      Comment


        #4
        What does "column count for brochure fragments" in layout against the homepage do?

        I tend to circumvate these issues by using a new layout list and using CSS to float everything into position


        Bikster
        SellerDeck Designs and Responsive Themes

        Comment


          #5
          I got blinded by the product 1 product 2 business, and did not even read the code which clearly says fragment. John has it - column count for brochure fragments is the beast you want.
          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


            #6
            That's it guys -- sometimes you just can't see the woods for the trees!

            Thanks for your help.

            Simon
            Simon Williams
            Actinic Designer v.8.5.2.0.0.0.HMVA

            Comment

            Working...
            X