Posts: 3
Threads: 1
Joined: Nov 2011
2011-11-26, 00:35:24
(This post was last modified: 2011-11-26, 00:37:10 by acym.)
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
Posts: 2,094
Threads: 54
Joined: Jan 2011
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)
Posts: 3
Threads: 1
Joined: Nov 2011
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?
Posts: 2,928
Threads: 195
Joined: Feb 2011
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
Posts: 3
Threads: 1
Joined: Nov 2011
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
Posts: 2,928
Threads: 195
Joined: Feb 2011
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