Forums / Developer / Error: own php script inside eZp / Comment37972
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?