Announcement

Collapse
No announcement yet.

fragment layout

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

    fragment layout

    Hi

    I would like to create two columns for my fragments. I have looked at previous postings that suggest creating a new fragment template. But how do you do this? Could anyone point me in the right direction.

    Thanks
    Roy

    #2
    Hi Roy,

    There may be another way of doing this but we have found this to work:

    The principle is to create a fragment called StartTable and a fragment called EndTable. In between the 2 fragments you can insert fragments for each cell in a row. To have mutiple rows you can add a fragment called NewRow.

    The fragments of a page might look like...

    StartTable
    TopLeftCell
    TopMiddleCell
    TopRightCell
    NewRow
    BottomLeftCell
    BottomMiddleCell
    BottomRightCell
    EndTable

    Resulting in a 2 x 3 cell table.

    For the StartTable create a template that only contains NETQUOTEVAR:BROCHURE_TEXT. Select this for the layout of the fragment and set the text to...

    !!<
    <table width="100%" border="0" cellspacing="10" cellpadding="0">
    <tr valign=top>
    >!!

    For the NewRow use the same template as above and set the text to...

    !!<</tr><tr>>!!

    For the Endtable the same template as above and set the text to...

    !!<</tr></table>>!!

    Each of the 6 cells used for the need to use a template which defines a single cell, i.e. make a copy of the required default template then edit the copied template and enclose the HTML of the template with <td> and </td>.

    I hope this helps.
    ********************
    Tracey
    SellerDeck

    Comment


      #3
      Hi TraceyG

      Thanks for all your effort in producing your reply.

      I will give it a try and let you know how I get on.

      Regards.

      Roy

      Comment

      Working...
      X