Michael S Scheidell
yes, {source}<?php echo 'TEST'; ?>{/source} works
yes, the file exists (if it didn't , i would get an error)
but it just SEEMS to treat the file as a text file, not executing php commands.
I know im doing something stupid, but iv tried wrapping with <?php tags, and it just prints the tags..
given this: (pro version, joomla 4.x latest)
with or without raw=true (I am using a wysi editor)
{source require_once="includes/include.php"}{/source}
created with '</>code'
it DOES include the file, the contents are
echo "I don't need php tags";
and this is the result: of:
{source}<?php echo 'TEST'; ?>{/source}
{source require_once="includes/include.php"}{/source}
yes, i cleared joomla cache, yes, iv purged everthing in between testing. but if i can';t past this, i can't include functions. the biggest reason for buying pro was to try to keep the code clean, and not 400 lines i have to read through.
i don't know why it doesn;'t 'execute' echo.
TEST
echo "I don't need php tags";