Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why are my PHP includes being commented out?
#1
Strange no?
Reply
#2
Where are you inserting them? In the page editor? If so, it's not possible to have php code there (by default)
Reply
#3
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.
Reply
#4
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:edito...xhighlight
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#5
(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:edito...xhighlight

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
Reply
#6
Recommended plugin for inserting php code in pages, using components: DynPages
Reply
#7
Awesome!

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




Users browsing this thread: 1 Guest(s)