Open new dialog and C5_EXECUTE is not defined, Flash doesn't display?
Permalink
Hi there,
I'm opening a new dialog like this:
This opens a new dialog just fine, but there's just two problems:
The page that opens doesn't have access to any functions or classes. The standard C5_EXECUTE check fails.
The page that opens also will not display Flash content ... which torpedoes the whole point of my dialog.
Does anyone have any idea how to make this work?
I'm opening a new dialog like this:
<a href="path/to/script.php" dialog-modal="false" dialog-width="500" dialog-title="Test" dialog-height="400" class="dialog-launch">Click here</a>
This opens a new dialog just fine, but there's just two problems:
The page that opens doesn't have access to any functions or classes. The standard C5_EXECUTE check fails.
The page that opens also will not display Flash content ... which torpedoes the whole point of my dialog.
Does anyone have any idea how to make this work?
The Flash will only display if "wmode" is set to "opaque"
I also found this post which explains the correct way to provide the URL for the file I wanted to launch. I copied the code and put my file into a "tools" directory in my block and it worked fine.
FYI, $ci in the example refers to Loader::helper('concrete/urls');