Hi,
I need to execute PHP inside editable regions, son I can insert code inside the richtext editor, for example:
<?php echo "Hello!"; ?>
If I try to insert this command, when I see the page in the browser I don't find Hello!, but the original code <?php echo "Hello!"; ?> (so it is see like normal text, with no execution).
The problem is that I need to insert dynamic links in my editable regions.
Thank you fot your help!!
Alessandro
P. S.
I'd like to modify CKeditor's config file, adding:
CKEDITOR.config.protectedSource.push(/<\?[\s\S]*?\?>/g);
So I can use PHP code, but it still does not render the code I inserted. Is it possible to add config.js in this way in CouchCMS?
I need to execute PHP inside editable regions, son I can insert code inside the richtext editor, for example:
<?php echo "Hello!"; ?>
If I try to insert this command, when I see the page in the browser I don't find Hello!, but the original code <?php echo "Hello!"; ?> (so it is see like normal text, with no execution).
The problem is that I need to insert dynamic links in my editable regions.
Thank you fot your help!!
Alessandro
P. S.
I'd like to modify CKeditor's config file, adding:
CKEDITOR.config.protectedSource.push(/<\?[\s\S]*?\?>/g);
So I can use PHP code, but it still does not render the code I inserted. Is it possible to add config.js in this way in CouchCMS?