![]() |
Simple Template Variable Help Needed
Hello,
I literally just need to know how to include 1 php variable in a template properly. It doesn't need to be cached, it just needs to work!!! I have a global_start plugin that sets this variable: $domain='sub.whatever.com'; I then use this variable in the navbar template like: $domain And I also tried {$domain} It works on SOME pages, but other pages just comes up blank! Notes: It is specifically a template issue. I have had my global start print out this variable while in debug mode and it is always being set the same way. Also, I have enabled printing template names as html comments, and it is always calling the navbar template, but sometimes the $domain var is just empty :( Any ideas? |
All times are GMT. The time now is 07:09 AM. |
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:
|