2018-01-10, 23:58:02
(2018-01-10, 21:55:49)lotova Wrote:Hi, I'd like to know how to use the Exec-PHP plugin along with CKEditor.
The plugin works well at first glance - if I insert for example <?php echo getrandmax(); ?> in source-editing mode through the editor the page displays correctly 2147483647. But if I edit the same page (anywhere else) the editor automatically replaces the above mentioned php code with <!--?php echo getrandmax() ?--> and there is a blank place instead of the number in the webpage then.
This way the Exec-PHP plugin is unusable. Is it necessary to somehow reset the editor so that this plugin can be used?Thank you.
I recommend using the plugin DynPages. http://get-simple.info/extend/plugin/dynpages/81/