Hi,
i have some problem by removing unknown tags in a template. set set the variable to remove but nothing happens.
here is my code
$t1 = new Template($sbs_templates,"remove"); $t1->set_file(array("header" => "header.inc", "footer" => "footer.inc")); $pagetitel_set=$sbs_kunde." - ".$sbs_2001_0005_hl01; $t1->set_var(array( "SEITENTITEL" => $pagetitel_set, "COPYRIGHTS" => $copyright, )); $t1->pparse("out",array("header")); $t1->pparse("out",array("footer"));
whats wrong with it?
bjoern
hello,
in your code remove the virgule after $copyright
$t1->set_var(array( "SEITENTITEL" => $pagetitel_set, "COPYRIGHTS" => $copyright ));
bye courou
Log in to post a comment.
Hi,
i have some problem by removing unknown tags in a template. set set the variable to remove but nothing happens.
here is my code
$t1 = new Template($sbs_templates,"remove");
$t1->set_file(array("header" => "header.inc",
"footer" => "footer.inc"));
$pagetitel_set=$sbs_kunde." - ".$sbs_2001_0005_hl01;
$t1->set_var(array(
"SEITENTITEL" => $pagetitel_set,
"COPYRIGHTS" => $copyright,
));
$t1->pparse("out",array("header"));
$t1->pparse("out",array("footer"));
whats wrong with it?
bjoern
hello,
in your code remove the virgule after $copyright
$t1->set_var(array(
"SEITENTITEL" => $pagetitel_set,
"COPYRIGHTS" => $copyright
));
bye
courou