Is there a way to add php includes from another script without using snippets? I’m trying to include a php file from a seperate folder, outside of MODx, in the template and in the content area. After reading a bit, I think this has to be done in snippets, as php is ignored in other areas. But I wanted to ask and be sure before I completely rethink my plan.
Thanks,
Kenton
include 'your-script.php';