![]() |
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. |
eval('$TEMPLATE_VAR = "' . fetch_template('TEMPLATE_NAME') . '";');
$TEMPLATE_VAR in final template. Don't forget to cache it. ;) |
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:
|
Quote:
|
cool, thanks Michael!
|
All times are GMT. The time now is 11:19 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:
|