[campsite-support] List articles in 3 columns
  • Hi,
    I wanna list articles in 3 columns in a table, i try with this, but not
    woks

    <!** section number 16>

    <!** List columns 3>
    <!** If List start><table> <!** EndIf>
    <!** If List column 1>  <tr> <!** EndIf>
    <td> <h5><!** print article Title></h5>
    </td>
    <!** If List column 3>  </tr> <!** EndIf>
    <!** If List end>  </table> <!** EndIf>
    <!** EndList>

    Theres something else i need to do?

    Thanks.

    --


    Carlos Cabrera
    Desarrollo Web
    www.elperiodico.com.gt
    Teléfono 2-362-0242 Ext. 2105
  • 2 Comments sorted by
  • Hi Carlos,

    The proper code is:














    (.. and other article fields)




    I tested it and it works ok for me.

    Mugur

    --- Carlos Cabrera wrote:
    Hi,
    I wanna list articles in 3 columns in a table, i try with this, but notwoks











    Theres something else i need to do?

    Thanks.

    --
    Carlos Cabrera
    Desarrollo Web
    www.elperiodico.com.gt
    Teléfono 2-362-0242 Ext. 2105





    __________________________________________________
    Do You Yahoo!?
    Tired of spam? Yahoo! Mail has the best spam protection around
    http://mail.yahoo.com
  • Thanks Mugur,
    Its woks to me too! Before a i do this with PHP loop, but today i find
    this instruccion in the manual.

    Thanks a lot.

    Mugur Rus wrote:

    Hi Carlos,

    The proper code is:

    <!** List columns 3 Article>
    <!** If List start>
    <table>
    <!** EndIf>
    <!** If List column 1>
    <tr>
    <!** EndIf>
    <td valign="top">
    <!** Print Article Name> (.. and other article fields)
    </td>
    <!** If List column 3>
    </tr>
    <!** EndIf>
    <!** If List end>
    </table>
    <!** EndIf>
    <!** EndList>

    I tested it and it works ok for me.

    Mugur

    --- Carlos Cabrera <ccabrera@elperiodico.com.gt> wrote:
    Hi,
    I wanna list articles in 3 columns in a table, i try with this, but notwoks

    <!** section number 16>

    <!** List columns 3>
    <!** If List start><table> <!** EndIf>
    <!** If List column 1> <tr> <!** EndIf>
    <td> <h5><!** print article Title></h5></td>
    <!** If List column 3> </tr> <!** EndIf>
    <!** If List end> </table> <!** EndIf>
    <!** EndList>

    Theres something else i need to do?

    Thanks.





    --


    Carlos Cabrera
    Desarrollo Web
    Teléfono 2-362-0242 Ext. 2105