Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP snippet in page
#1
How someone adds <?PHP ... snippet of code ?> in a page?

when I try to add some php code it gets escaped... of course, I use SOURCE mode in editor. However when page get saved, content gets escaped....

Ideas?

some more light - i stay in source mode when saving
Reply
#2
ljgww Wrote:How someone adds <?PHP ... snippet of code ?> in a page?

when I try to add some php code it gets escaped... of course, I use SOURCE mode in editor. However when page get saved, content gets escaped....

Ideas?

Exec PHP plugin (but has some incompatibilities with other plugins) or DynPages plugin (where you add the code in a component and then add a link to the component on the page)
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
#3
mvlcek Wrote:
ljgww Wrote:How someone adds <?PHP ... snippet of code ?> in a page?

when I try to add some php code it gets escaped... of course, I use SOURCE mode in editor. However when page get saved, content gets escaped....

Ideas?

Exec PHP plugin (but has some incompatibilities with other plugins) or DynPages plugin (where you add the code in a component and then add a link to the component on the page)

Thanks a lot! Will explore plugins. Second option looks more inviting because of organization (and clarity). Any experience with that one?
Reply
#4
you are not the first who will use DynPages
but before asking everybody about experiences, check it out yourself, it is simple and takes only minutes

your asking around takes more time ;=)

be courageous, test it yourself!

Cheers, Connie
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#5
Connie Wrote:you are not the first who will use DynPages
but before asking everybody about experiences, check it out yourself, it is simple and takes only minutes

your asking around takes more time ;=)

be courageous, test it yourself!

Cheers, Connie

BOC
(But, Of Course)

just wanted to learn if there is some caveats, that's all, will surely try
Reply
#6
well, if some problems arise, it is always very easy to redo the changes!

Like mvlcek already wrote, EXEC_PHP is incompatible with some other plugins, but problems (if there are some) can always be found in the threads of the plugins

Please tell us, if you could manage what you wanted to realize

Cheers, Connie
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply




Users browsing this thread: 1 Guest(s)