I'm trying to integrate a PHP page with CMSMS 1.2, but the PHP scripts are acting differently once they're integrated. I believe the problem is that variable defined in one UDT are not available for following UDTs. The page works great on the same server without CMSMS. So here's a piece of the code:
Code: Select all
{require_people}
{literal}
<__script__ type="text/javascript" src="js/mootools.js"></__script>
<__script__ type="text/javascript">
var transspeed={/literal}{gallery_trans}{literal};
Code: Select all
require_once "config_people.php";
require_once "getfolders.php";
Code: Select all
$transitionspeed="500";
Code: Select all
echo "$transitionspeed";
Code: Select all
echo "$transitionspeed";
Thanks for your help!