Say I have my own template named "MyTemplate". How can I give my template access to a custom variable no matter where the template is included from? From searching, I've found that most people do something similar to this: http://xenforo.com/community/threads/php-in-templates.7424/#post-104328 However, I've found that this only works when my template is included from template such as sidebar_*, etc. My template can also be called from other templates like "ad_below_bottom_breadcrumb", but in this case, the variable isn't passed. I tried using a "template_create" listener, but that doesn't seem to be called when "MyTemplate" is made/included. Furthermore, I don't want to pass the variable onto every page using something like "PAGE_CONTAINER" for performance reasons. Any ideas?