Is there a solution for PHP scripts that have to span multiple templates?
For instance, template A has:
<?php
$name = "John";
?>And template B has:
<?php
echo $name;
?>Currently, it appears all PHP parses on a template bases so that this is not possible.
I currently have functions that must execute before the page loads, but I have to be able to call variables it outputs in other templates through the site.