Under secutity settings enable PHP in templates. One thing to be aware of is your PHP code can be exposed because the template can be requested directly and it is sent plain text.
In functions.php you'll find a giant array near the bottom. Around line 4340...
Code: Select all
// The following assigns all _common_ variables that may be used at any point in a template.
'SITENAME' => $config['sitename'],
'SITE_DESCRIPTION' => $config['site_desc'],
'PAGE_TITLE' => $page_title,
You can add your own there if you want it available in all templates. viewtopic.php, viewforum.php and other files have additional arrays also found near the bottom.