1
Calipsy
table on blocks
  • 2005/3/10 8:57

  • Calipsy

  • Just popping in

  • Posts: 87

  • Since: 2003/4/30


I am trying to put a table around this block weblinks_block_new.html, but I just cannot do it. Does not matter what I do, the table falls on the end of block.

Could you please give me a hand here? I am a XOOPS end-user.




    <{foreach item=link from=$block.links}>

" valign="middle">



  • <{if $link.show_banner == 1}>


    <{if $link.width > 0 }>
    banner
    <{else}>
    banner
    <{/if}>


    <{/if}>

    <{$link.title}> (<{$link.date}>)

    <{if $link.show_new == 1}>
    new
    <{/if}>

    <{if $link.show_update == 1}>
    update
    <{/if}>

    <{if $link.show_pop == 1}>
    popular
    <{/if}>



  • <{/foreach}>



    2
    tjnemez
    Re: table on blocks
    • 2005/3/10 9:29

    • tjnemez

    • Home away from home

    • Posts: 1594

    • Since: 2003/9/21


    This will wrap it, but not sure if the odd even will cycle.


    " valign="middle">
    <{/foreach}>




    3
    Calipsy
    Re: table on blocks
    • 2005/3/10 9:41

    • Calipsy

    • Just popping in

    • Posts: 87

    • Since: 2003/4/30


    Hi tjnemez

    Thanks for answer me.

    I copied and pasted your fix and it is wrapping only the first new link and putting it in the end of the block. We are almost there.

    What Could I do next?

    4
    tjnemez
    Re: table on blocks
    • 2005/3/10 14:32

    • tjnemez

    • Home away from home

    • Posts: 1594

    • Since: 2003/9/21


    i was not paying attention to what i posted. try this:

    <{foreach item=link from=$block.links}>


    " valign="middle">





    <{/foreach}>

    Login

    Who's Online

    305 user(s) are online (111 user(s) are browsing Support Forums)


    Members: 0


    Guests: 305


    more...

    Donat-O-Meter

    Stats
    Goal: $100.00
    Due Date: Nov 30
    Gross Amount: $0.00
    Net Balance: $0.00
    Left to go: $100.00
    Make donations with PayPal!

    Latest GitHub Commits