GetSimple Support Forum
Why are my PHP includes being commented out? - 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: Why are my PHP includes being commented out? (/showthread.php?tid=4766)



Why are my PHP includes being commented out? - reticent - 2013-05-21

Strange no?


RE: Why are my PHP includes being commented out? - Carlos - 2013-05-21

Where are you inserting them? In the page editor? If so, it's not possible to have php code there (by default)


RE: Why are my PHP includes being commented out? - reticent - 2013-05-21

Hi,

It is in the page editor, thank you.

I am used to using SSI includes and thought it "simple" to use PHP includes instead, however were it not for issues around entities and silly HTML formatting I'd not even think about it.


RE: Why are my PHP includes being commented out? - Connie - 2013-05-21

do you want to have PHP executed or do you want to documentate the code in a page?

If you want to have PHP-Code as text in a page, you can use syntaxhighligting, see here:

http://get-simple.info/wiki/how_to:editor_configuration_syntaxhighlight


RE: Why are my PHP includes being commented out? - reticent - 2013-05-21

(2013-05-21, 16:03:24)Connie Wrote: do you want to have PHP executed or do you want to documentate the code in a page?

If you want to have PHP-Code as text in a page, you can use syntaxhighligting, see here:

http://get-simple.info/wiki/how_to:editor_configuration_syntaxhighlight

Nice but I'm wanting to execute PHP statements from inside pages but only due to the fact of having problems with the editor itself.

Thanks


RE: Why are my PHP includes being commented out? - Carlos - 2013-05-21

Recommended plugin for inserting php code in pages, using components: DynPages


RE: Why are my PHP includes being commented out? - reticent - 2013-05-21

Awesome!

Now I don't have to eat tag soup or have a dog's breakfast Wink