By: ritu
Date: 2005-01-10
Time: 10:08
|
multiple templates to display a page
I am new to TBS. Is there any way by which i can use multiple templates to display differnt cells of a table. All i know is that , static html can be included, but i want to display dynamic data by passing the variables to the different templates.
|
By: Skrol29
Date: 2005-01-10
Time: 22:51
|
Re: multiple templates to display a page
Hi Ritu,
I don't know what you mean by "passing the variables to the different templates". But parameter 'file' accepts embeded [var] fields.
Example:
[onshow;file=[var.subtemplate]]
is equivalent to:
[var.subtemplate;file=[val]]
You can also use fields linked to data:
[onshow;file=[blk.filename]]
is equivalent to:
[blk.filename;file=[val]]
|
By: ritu
Date: 2005-01-11
Time: 18:41
|
Re: multiple templates to display a page
Thanks for the reply :)
|
|
Posting in progress.
Please wait...
|