Quote:
Originally posted by Fryzid
You need to change point 5 to
Code:
$templatesetid=$template[templatesetid];
echo "<hr>$template[template]<hr>\n";
eval("dooutput(\"".gettemplate("$template[title]")."\");");
Otherwise gettemplate will always get the default template and not the one you are going to edit.
|
Thanks, I'll try that, maybe that's why it was coming out weird. But I'm wondering how
Code:
$templatesetid=$template[templatesetid]
can change the value of
Code:
eval("dooutput(\"".gettemplate("$template[title]")."\");")
later?