Tuesday 15 June 2010 12:15:18 am
how do I put php file in ezpublish-4.3.0-full-version I added PHPOperatorList[marksPHPinsert]=marksPHPinsert in templete.ini then I put follweing code in bottom part of eztemplateautoload.php
function marksPHPinsert ($file)
{
$file = fopen ($file, "r" );
while (!feof ($file))
{
$output .= fgets ($file, 4096);
}
fclose ($file);
return ($output); } Is this is the same way we set up an operator to inlude php files in this ezpublish-4.3.0-full-version, or is it different. Any ideas will be helpfull Thanks in advance
|