Log in

View Full Version : Template, How do i do my own??


n_wattam
01-01-2005, 10:22 PM
I have a table which i have placed into my forum, by editing an existing template. But i find this a very messy way of doing things.

What i would like to do is create my own template to hold the table in, and then call this template.

What i would also like to do is create Vb options settings, so i could have a varible and what ever that is, it would display it with in the table.

Michael Morris
01-01-2005, 10:53 PM
Create a new template under the styles & templates manager. Then add this line to the PHPINCLUDE_START template

eval('$TEMPLATE = "' . fetch_template('TEMPLATE') . '";');

Where TEMPLATE is the name of the template you want to fetch.

For more information on the creation and insertion of templates into your own pages read my Using the PHPINCLUDE_START template Tutorial thread.