GetSimple Support Forum
QUESTION insert php into page - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: QUESTION insert php into page (/showthread.php?tid=8676)



insert php into page - pinguin - 2016-08-25

I thought this was simpler than it maybe is.

I noticed I can't just hit source in the editor and write php code.
Then I tried the plugin exec-php, which worked only for a few lines.
Then I tried DynPages plugin, put the php in a compontent and called that, which might work.

I have different php code on every site and really would like an easier way of editing that.

What else can I do?


RE: insert php into page - shawn_a - 2016-08-25

Components are the easiest way, easier would be to build it into your theme ans use custom template or function calls in your template, depends on where you are executing code.

You can also try my component hooks plugin for global php insertion.