TinyButStrong - the PHP Template Engine
Categories > TinyButStrong general >

create numbered list like table

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs

By: Tyler
Date: 2013-07-16
Time: 22:30

create numbered list like table

I'm wondering if i can use tbs to create a dynamic numbered list. What I'm doing is pulling the last 5 records from my DB from a php file then when loading html template i want to create a number list with the last 5 records. I am familiar with merging blocks and using block=tr to create tables, but i cant find any information on creating html lists. Thanks
By: Sarah Kemp
Date: 2013-07-16
Time: 22:36

Re: create numbered list like table

Can't you just use block=li?
By: Tyler
Date: 2013-07-16
Time: 23:02

Re: create numbered list like table

Ya i just figured out why that wasn't working, copy paste error lol, I accidentaly place loadtemplate before and after mergeblock. Thanks.