![]() |
Template question
Okay, I have a question.
You know how if you want to incorporate the navbar template, you type in $navbar? Well, how would I make other templates show up? I have no idea how to do this, Im not a coder. Does anyone know what I mean? |
Create a new plugin using a hook location that executes on the page you want to place the variable. (Ex. If you want it on your Index, use 'forumhome_start'; if you want it in the Posbit, use 'postbit_display_start'; etc.)
Code:
$var = ''; |
Thanks for this! And a big thanks to peterska2. Minutes after posting this, while just browsing, I found her? tutorial and it worked marvelously. :D
|
Yeah I was trying to find the tutorial for you, but misplaced the link, so I settled with an example. Glad you found what you were looking for either way.
And yes, she. ;) |
All times are GMT. The time now is 11:57 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|