this is the one working:
[tbs_include.onshow;file=[headdir];htmlconv=no]
|
but this wont:
[tbs_include.onload;file=[headdir];htmlconv=no]
|
Why wont it?
with onshow, it loads up the file, but doesnt replace the tags in that file...
and then when i just have it as header.tpl, it doesnt work except when i put that file where the index.php file is located
and i tried templates/header.tpl
and that works fine, except i need it to where the users are picking the template directory...
examples:::::
index.php:
while ($row = mysql_fetch_assoc($query)) {
$headdir = "templates/".$row['template']."header.tpl";
$PAGE->MergeField("headdir", $headdir);
}
|
get what im saying?