What Are the Global Variable Scope Exceptions
I've been trying to get this code to work for quite a while and it's just not working. I've got a global variable defined that works in headerinclude and navbar but when I try to use it in SHOWTHREAD_SHOWPOST it's empty.
When a thread is loaded, this variable would essentially be used 3 different times throughout the page but it doesn't work when it's called from showthread_showpost.
I've been searching for hours and haven't come up with anything. Is SHOWTHREAD_SHOWPOST one of those templates that isn't in the global scope? If so, how I can I bring it into scope?
|