Categories > TinyButStrong general >

Serial display + Conditional display

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Pablo
Date: 2007-05-30
Time: 18:04

Serial display + Conditional display

Hi, im trying to use Conditional Display in a seria display but i canĀ“t get its works.

The TPL source:
  <table width="100%" border="0">
      <tr>
        <td align="left">[blk;block=tr;serial][blk_1.nombre;block=td;when [blk_1.seleccionado]==1]<BR></td>
        <td align="left">[blk_2.nombre;block=td;when [blk_2.seleccionado]==1]</td>
        <td align="left">[blk_3.nombre;block=td;when [blk_3.seleccionado]==1]</td>
      </tr>
    </table>

Have any mistake ?

Pablo
By: Skrol29
Date: 2007-05-30
Time: 20:13

Re: Serial display + Conditional display

Hi,

Subsections for serial display can be only normal sections.
But I think you can define a where condition on the parent serial section :
  [blk;block=tr;serial;where [blk.seleccionado]==1]

Not tested.
By: Pablo
Date: 2007-05-31
Time: 00:39

Re: Serial display + Conditional display

I try it but it doesn`t work.

Pablo