Page 1 of 1
Replacement Tags in the Head Section
Posted: Thu 9. Dec 2004, 14:19
by leone
I wanted to place some php script in the head section of the template, using the [PHP]... or even {PHP:... tags for an external call, now I found that this does not work as the tags are left untouched in the head section. Is there some workaround for this?
regards,
Leone
Posted: Thu 9. Dec 2004, 14:40
by Pappnase
hello
i will post later the fix for that! after 7pm.
Posted: Thu 9. Dec 2004, 19:30
by Pappnase
hello
add at the in the content.func.inc.php the following code.
than it will work
Code: Select all
$block["htmlhead"] = render_PHPcode($block["htmlhead"]);
Posted: Fri 10. Dec 2004, 08:07
by leone
Vielen Dank, jetzt funktionierts.
Gruss,
Leone
Posted: Fri 10. Dec 2004, 08:15
by Pappnase
hallo
nicht zu danken, übrignes brauchst du dir um den code keine sorgen machen der wird auch in der nächsten release mit drin sein.