The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
variable help...I'm lost
I created a template called "footer2". I need it to contain all the copyrights of Jelsoft and the copyrights of a certain hack. I am using this for a portal homepage. The forumhome page contains the regular $footer variable.
I'm having problems getting the $footer2 to show up. How does one implement variables so they show up on certain pages? I'm thinking this has to do with global.php, but I don't know where to start. just something I could read, perhaps would really help. I'll do all the homework, I just need to get pointed in the right direction. |
#2
|
|||
|
|||
eval('$TEMPLATE_VAR = "' . fetch_template('TEMPLATE_NAME') . '";');
$TEMPLATE_VAR in final template. Don't forget to cache it. |
#3
|
|||
|
|||
where in global.php? anywhere?
also, what do you mean by "cache it"? I assume $TEMPLATE_VAR & 'TEMPLATE_NAME' are usually the same for simplicity purposes. Quote:
|
#4
|
||||
|
||||
Quote:
|
#5
|
|||
|
|||
cool, thanks Michael!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|