Replacement Tags in the Head Section

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
leone
Posts: 21
Joined: Tue 19. Oct 2004, 11:30
Location: Switzerland

Replacement Tags in the Head Section

Post 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
Pappnase

Post by Pappnase »

hello

i will post later the fix for that! after 7pm.
Pappnase

Post 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"]);
leone
Posts: 21
Joined: Tue 19. Oct 2004, 11:30
Location: Switzerland

Post by leone »

Vielen Dank, jetzt funktionierts.


Gruss,
Leone
Pappnase

Post 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. :lol:
Post Reply