Php files
You need to assign a variable to a code that calls teh template like this
PHP Code:
$latestattachments .= "' . fetch_template('recent_attachments') . '";
That is a piece taken from my small hack here
https://vborg.vbsupport.ru/showthrea...threadid=61244
Feel free to take a peak to see how it all works together.
Basically make the variable -- Assign the template to it like above -- Place this code in a certain php file -- Place the variable name where you wish the template to show
Sorry for the poor explination