Page 1 of 1

templates limitations...!?

Posted: Thu Jan 22, 2004 7:40 am
by Baader
hi there...
my question about templates classes.

i have to get follow:
smth1
-bla1
-bla2
..
-bla3
smth2
-cla1
..
smth3
-dla1
..

all this i wanna realizeted trough the tpl's...
but can't find the way in those classes which i have (phpBB's tpl system) :7
plz help...

Posted: Thu Jan 22, 2004 10:31 am
by McGruff
In php, create a script which defines a bunch of (unformatted) vars.

In your html editor, create the templates. Add <?php echo $var; ?> wherever you need to.

Back in php, include the html template/s once the vars have been defined.