Announcement

Collapse
No announcement yet.

2 Column products page and Fragment

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

    2 Column products page and Fragment

    I have a product section which has 2 columns. Now when i create a fragment to go above these products, it lays it out as if it's another product and keeps it in a column instead of allowing it to stretch across.

    Attached is screenshot.

    Thanks!
    Attached Files
    LoveLingerieOnline - Sexy lingerie and great prices.
    SJS Band Music - Cheap Brass band sountracks.
    Ovalworld - All your wallpaper and painting needs.
    Yew Tree Garden Centre - Cheap teak furniture and more.

    Want a website like this? Visit Tinlegs.

    #2
    One way to do this if you just want to put one fragment at the top of every section page...

    Go to the Design View of your Product List probably 'Product List With Horizontal Dividers' then click to edit the list layout settings (at the top). Select the tab to 'Edit Rows and Columns' and on the first row change to 1. In 'Before Row' put:
    <tr>

    in 'Before' put:
    <td colspan="2">

    in 'After' put:
    </td>

    and in 'After Row' put:
    </tr>
    <tr>
    <td class="dotted_line_blue" colspan="<actinic:variable name="ProductColumnCount" />"><img src="theme_shim.gif" height="1" width="1" alt=" " /></td>
    </tr>
    (or copy whatever is in the 'After' section of the 'Middle Rows' row)

    This should work. remember though that this will change all the instances where this layout is used and that it will only work if you put just one fragment in the product section at the top. If you want to have different layouts in different sections then copy the original layout, name as MyProductList...etc. - you will then be able to select which layout you want to use on any section.

    HTH

    Comment


      #3
      Thanks very much for your help!
      LoveLingerieOnline - Sexy lingerie and great prices.
      SJS Band Music - Cheap Brass band sountracks.
      Ovalworld - All your wallpaper and painting needs.
      Yew Tree Garden Centre - Cheap teak furniture and more.

      Want a website like this? Visit Tinlegs.

      Comment


        #4
        For the same reason as above I would like to add fragments to the bottom of the page.

        Is it possible to set the page up so that the fragment appears in the footer so that it will span across all the columns?

        Many thanks

        Jason
        Regards

        Jason

        Titan Jewellery (Swift Design)
        Zirconium Rings
        Damascus Steel Rings

        Comment


          #5
          This should get you pointed in the right direction...

          Just go into the design code for Product List layout and change the layout settings in Edit Rows and Columns - First/Middle/last tab and then under No of Items - Last Row select 1.

          As my above post:

          "This should work. Remember though that this will change all the instances where this layout is used and that it will only work if you put just one fragment in the product section at the bottom (and that there are an even number of products). If you want to have different layouts in different sections then copy the original layout, name as MyProductList...etc. - you will then be able to select which layout you want to use on any section."

          Comment


            #6
            Many thanks Duncan,

            As it was only 2 pages that I wanted to change I opted for new templates. It would however be nice to have the option for fragments to span all columns though.

            Kind regards

            Jason
            Regards

            Jason

            Titan Jewellery (Swift Design)
            Zirconium Rings
            Damascus Steel Rings

            Comment

            Working...
            X