The file is 'eveit.php'. The template is 'eveit'. It is working just fine with the API code in the PHP file. The template is called at the very bottom of the PHP file
PHP Code:
eval('print_output("' . fetch_template('eveit') . '");');
I deleted the second template and tried the code in a plugin instead, but I think it is better in the PHP rather than a global_start plugin, as I only want the API access performed on eveit.php (the rest of the site doesn't make use of the data). Is it possible to make a plugin load only for a specified custom template?