I have tried to call it on a cms page using a variety of methods:
Entering the php in a UDT
Putting an include statement in a UDT (various formats)
No matter what I do, all the file references and variables inside the app break.
I saw a post that referenced this:
Code: Select all
global $gCms;
include $gCms->config['root_path'] . DIRECTORY_SEPARATOR . 'filename.php';and I think it is in the ball park of my problem - but I do not know how to modify it to make it work. Do I replace root path, directory separator and filename?
Or is there a different approach I should be using?
Thanks in advance.

