Categories > TinyButStrong general >

variable number of columns with "serial block"

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Den
Date: 2008-08-30
Time: 15:47

variable number of columns with "serial block"

Hello,

I recently re-discovered tbs (which didn't even have its own domain name the first time I had looked at it) and

I'm trying to rewrite an existing web app with tbs so I can eventually get rid of those hardcoded bits of html I have in my code and make it easier to swap templates.

I've tried a "serial block" to display items in a table, and it works fine as long as you "hard design" the numbers of cells you want to display in a row.

The thing is that my app allows the admin to specify how many items in a row and how many rows have to be displayed per page, and I haven't found a way to reproduce that behaviour with tbs.

Is there an (easy) way to do this I would have missed ?

Thanks,
Den
By: Den
Date: 2008-08-30
Time: 18:38

Re: variable number of columns with "serial block"

Ok, I just found out 'dynamic columns' weren't limited to multiplication tables :)