Search found 3 matches

by lsalsich
Mon Feb 20, 2006 1:51 pm
Forum: General discussions
Topic: pmf 1.5.3 and embedding php in templates
Replies: 16
Views: 27155

Solved the Parsing issue (I think):

lines 101 and 102 in parser.php:

$phpstart = '<?php';
$phpstop = '?>';

will not match <?PHP since it is in caps. Many programers are in the habit of caping PHP. I would suggest adding some regex in this to match caps. Or, make it clear that PHP code must ...
by lsalsich
Mon Feb 20, 2006 1:32 pm
Forum: General discussions
Topic: pmf 1.5.3 and embedding php in templates
Replies: 16
Views: 27155

Hi Thorsten,

Yes, I did enable it from within the admin panel.

I do see (I think) where you have the code in parser.php which parses the PHP code. It looks ok to me. Has this feature worked for you and others?

Thanks very mucvh for you assistance,

Luke
by lsalsich
Mon Feb 20, 2006 3:23 am
Forum: General discussions
Topic: pmf 1.5.3 and embedding php in templates
Replies: 16
Views: 27155

same issue

Hi,

I have the same problem. I enable 'php parsing' in the config file but it seems that PHP is not parsed in the template files. Any ideas on how to solve this would be great.

Is there another setting I need to alter?

Thanks!

Luke