Topic Closed
gdig
1 Posts
Just to inform you that Exec_PHP is broken: clicking Save or Save & Close doesn't perform anything. Changes to PHP code are not saved.
4 years ago#8113

juergen
1.5K Posts
53.7K Downloads
16 Plugins
design, web development & visual effects

Execute PHP 1.1.1 works here in gpEasy 4.5
It was updated some 2 weeks ago to fix a jQuery incompatibility. Do you have version 1.1.1?

gpEasy Version: 4.6b1

Cannot see a 4.6 beta version. Where did you get it from?

4 years ago#8115

feniweb
298 Posts

Hallo Jürgen 

Bei Github die Master herunterladen. Ich habe gp 4.6a1. 

 

4 years ago#8116

juergen
1.5K Posts
53.7K Downloads
16 Plugins
design, web development & visual effects

Bei Github die Master herunterladen. Ich habe gp 4.6a1. 

Tatsächlich. Alpha.

@gdig: Bug confirmed in 4.6a1. Must have something to do with the ajax callback.

edit: I have posted it to the plugin's support forum

Edited: 4 years ago#8118

Josh S.
2K Posts
280K Downloads
16 Themes
18 Plugins

fe.lo
8 Posts

Hello,
I found gpEasy a few month ago and now we try to work on some projects with it. I read much in the forum and tested some plugins and the possibilities are great.
First I want to say, we are very excited! gpEasy is a great project.
The concrete question is, how to use the plugin: Execute PHP? It would be great if somebody could make a quick guide.
Is there another way to prevent that php code will be uncommented?

Thank you very much


 

4 years ago#8329

juergen
1.5K Posts
53.7K Downloads
16 Plugins
design, web development & visual effects

Execute PHP is very simple - it just executes PHP code you put into the section area.

Is there another way to prevent that php code will be uncommented?

Which gpEasy version and wicht plugin version are you using?

With gpEasy 4.5 (current stable) and current plugin version 1.1.1 everything works as expected:


edit the section and input:

echo "<p>Today is  " .  date('Y-m-d') . "</p>";
echo "<p>The server time is  " .  date('H:i:s') . "</p>";
// a comment
/* another comment */

... should render sth. like ...

Today is 2015-12-03

The server time is 12:35:17

If not, your PHP installation might not allow eval()

4 years ago#8330

fe.lo
8 Posts
Thanks a lot!

I didn't realize that it adds a new option to the section manager.
Great Plugin, it runs outstandingly!
 
4 years ago#8336

Topic Closed

 

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1
8/12/2017

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

creisi productions

Dienstleistungen von creisi productions, Luzern (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Website * ...

Find out more about our Provider Spotlight

Log In

  Register