Categories > Your tips & tricks >

Meta-template system

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Andrea
Date: 2006-03-31
Time: 20:34

Meta-template system

Hi everyone,
I found that many templates in my app had the same basic structure:
an header, a body, a tail. So, thanks to 'onload' tbs feature, I thought that
it would be faster to create a meta-template, a template that holds this
structure, and to include the body of the page using a line like
[onload;file=[var.body]]
In this way, I think that my templates are more efficient.

Thanks for your work, guys! :)