The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
One PHP File, Multiple Templates
I am not sure if there is already somewhere that says how to do this but I am not really sure what to search for hence I cannot find it.
Basically what I am trying to do is create a new .php page using templates. When you go to the page, template 1 would be displayed. Then when you click on link A, it would display template A, etc. Kinda how the FAQ on misc.php works. I get how to do a new page and have it use a template, but I am having trouble creating/defining variables and passing them from the link to tell it which template to use next. I'd like to be able to have the .php code be generic ... meaning that I can create Template B and C afterwards and by simply editing template 1 and adding the link to it, it would know to use the template. Not sure if this is possibly, but from looking at the faq code in misc.php it seems to be. I hope I am explaining this right, if not feel free to ask and I will try to clarify. Can anyone point me in the right direction on how to do this or where to find the info? Thanks! Kitzzy |
#2
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|