View Full Version : Templates. Need Help Really Bad??
n_wattam
01-01-2005, 09:42 PM
my brain is on the point of overload.... :ermm:
I was to be able to create a template, and want this template to say contain a table for aguments sake.
Now i know how to create a template, but how do i get to display it on my forum...
Please Help!!!!
boo.3
01-01-2005, 10:33 PM
Admin CP - Style Manager - Click Arrow by style u want - then theres a box on the top right scroll UP and you'll see it ;)
SFishy
01-01-2005, 10:55 PM
Do you want your custom template to appear inside another templates, or on it's own page?
SVTBlackLight01
01-01-2005, 10:55 PM
Admin CP - Style Manager - Click Arrow by style u want - then theres a box on the top right scroll UP and you'll see it ;)That's how you create the template. To call it on a page, use this (assuming the rest of ther page is coded).
eval('print_output("' . fetch_template('template_name') . '");');
Also, take a look at this thread.
https://vborg.vbsupport.ru/showthread.php?t=62164
SVTBlackLight01
01-01-2005, 11:02 PM
Do you want your custom template to appear inside another templates, or on it's own page?
Good point. It will make a difference.
n_wattam
01-01-2005, 11:41 PM
Ok going to start again, cos i am totally lost now..
What i want to do is have my own custom template, this template will display a box, and also the results of a verible inside the box.
I have created the template, called 'advertisement_notice' but what i dont know now what to do is display this template, and how to set the verible up, so i can change the value of it a will by using the options menu
Thanks again
SVTBlackLight01
01-02-2005, 12:18 AM
Check out these two threads.
https://vborg.vbsupport.ru/showthread.php?t=59939
https://vborg.vbsupport.ru/showthread.php?t=62164
They should answer all your questions.
n_wattam
01-02-2005, 12:20 AM
Check out these two threads.
https://vborg.vbsupport.ru/showthread.php?t=59939
https://vborg.vbsupport.ru/showthread.php?t=62164
They should answer all your questions.
Checked them out, but they only show you how to call a template form you own fresh page or an exisiting, one, but i want to call a template from an exisiting template.. :ermm:
darnoldy
01-02-2005, 02:42 AM
I have created the template, called 'advertisement_notice'
okay, that's step 1
Step 2: Find the template called "phpinclude_start" and add this line:
eval( '$advertisement_notice = "' .fetch_template ('advertisement_notice' ) . '";' );
Step 3: put the variable $advertisement_notice into the template you want.
--don
n_wattam
01-02-2005, 08:03 AM
At last...
That works great cheers.... :nervous:
If i want to diplay a customable verible in my tempate, would i just put the verible name in the template then create a Vbulletin Option verible
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.