View Full Version : Linking to new templates?
Bubble #5
07-12-2006, 06:58 PM
What is the best way to link to a new template that you've made?
Is this close?
<a href="template_name?$session[sessionurl]">$vbphrase[NewPageName]</a>
peterska2
07-12-2006, 08:06 PM
If it is for an entire new page, then you need to create a php file to associate with the template. Then you just like to it like any other page with <a href="mynewpage.php?$session[sessionurl]">$vbphrase[mynewpagename]</a>
If you want to see an example of this in it's most basic form (using just one template) take a gander over to www.peterska2.co.uk/worldcup.php If you need help creating your php file, I'll pull the code I used there as it is the simplist of pages.
Bubble #5
07-12-2006, 08:41 PM
If it is for an entire new page, then you need to create a php file to associate with the template.
That's what we were afraid of :surprised:
OK THANKS for sorted it all out :)
peterska2
07-12-2006, 08:42 PM
Cool. Glad it's sorted :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.