1
OK. I am attempting to install this small bit of code at the bottom of a theme, so that it shows on every page. I have tried to insert it into a block with PHP property set. But no luck there.
So, I thought, well, I'll hack the Theme! After some crash course reading in the Smarty Site, I did come to the realization that it needed to be wrapped in <{php}> <{/php}>
Well, after doing this, and setting my general settings to check for template updates, I did not get any results back. I have a sneaky suspission that it may have to do with properly using XOOPS_ROOT_PATH, but I am not exactly sure what the proper formatting should be.
//Echo's do work, so I know the php wrap is correct.
echo "Test";
OUTPUTS:
Test
<tr>
<td height="30" align="center">
<{php}>
ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
include ('ad_network_400.php');
echo $ad_network;
<{/php}>
td>
tr>
Any help would be greatly appreciated.