Share » Forums » Developer » Error: own php script inside eZp

Error: own php script inside eZp

Error: own php script inside eZp

Saturday 31 May 2003 10:43:24 am - 1 reply

Modified on Saturday 31 May 2003 10:44:31 am by John van der Boom

Author Message

John van der Boom

Sunday 01 June 2003 4:12:14 am

I've discover that when I echo $php_variable in index.php I do see the result of the script.

So something is wrong with the {$php_variable} in the template.

I also tested the idea of showing a variable declared in index.php in the templates like tis:

Added in index.php:
$test=1;

Added this in a random .tpl file:
($test}

Result EzDebug:
Unknown template variable 'test' in namespace ''

So the idea of passing a variable declared in index.php to a template isn't cleared to me.
Anyone any idea?

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu