Thanx Mist... can you provide another suggestion... i have two custom templates being called from a PHP page... but only the first one appears... even if i switch the order... i couldn't quite undertand your above post concerning order...
thanx
Quote:
<?php
error_reporting(7);
$templatesused='header, body';
require(getenv('DOCUMENT_ROOT').'/global.php');
$artist = $DB_site->query_first("SELECT * FROM XYZ WHERE id = '$id'");
if($artist) eval("dooutput(\"".gettemplate('header')."\");");
if($artist) eval("dooutput(\"".gettemplate('body')."\");");
?>
|
I also tried to put the header into a php file and code a inlcude() statement within the body template and i still did not get any result...