Posts: 3
Threads: 1
Joined: May 2010
Hi
Really great simple xml based CMS. Top.
I'm having problems using the plugin Exec PHP by Chris Cagle:
http://www.cagintranet.com/
Can someone tell me how to use it?
I've copied it into the plugins folder: exec-php.php and it shows up in admin of GS.
The o try on a page ex.
<?php
print 'hi';
?>
But nothing happens... Plz
Posts: 972
Threads: 27
Joined: Aug 2009
Are you writing it in CKEditors code view or in the visual editor? I haven’t tested it but it might only work when you enter the PHP code in code view.
Posts: 3
Threads: 1
Joined: May 2010
Zegnåt Wrote:Are you writing it in CKEditors code view or in the visual editor? I haven’t tested it but it might only work when you enter the PHP code in code view.
I choose editor and then html source and paste ut in but not working.
What to do?
Posts: 1,848
Threads: 86
Joined: Aug 2009
whats your version of GS?
-
Chris
Thanks for using GetSimple! - Download
Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Posts: 3
Threads: 1
Joined: May 2010
Posts: 3,491
Threads: 106
Joined: Mar 2010
Looks like it's CKeditor visual mode that is stripping php code.
If you select source mode, insert the php code, and then enter the visual mode again, the code disappears (before even saving the page).
Posts: 1,848
Threads: 86
Joined: Aug 2009
Carlos Wrote:Looks like it's CKeditor visual mode that is stripping php code.
If you select source mode, insert the php code, and then enter the visual mode again, the code disappears (before even saving the page).
no surprise there... The plugin does nothing with ckedior to allow it to not strip out the php. Sorry
-
Chris
Thanks for using GetSimple! - Download
Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Posts: 3,491
Threads: 106
Joined: Mar 2010
An alternative plugin, if you don't mind putting your php code into components instead of page content itself, is medialution-component-in-site:
http://get-simple.info/forum/viewtopic.php?id=732
(download updated plugin in post #3:
http://get-simple.info/forum/viewtopic.p...4534#p4534 )