2011-06-06, 02:15:25
(This post was last modified: 2011-06-06, 02:33:27 by infos.media.)
Hi Bak,
execution of PHP is restricted in pages, but you can use a plugin to make it work:
I recommend the DynPages plugin, because you can use it like a component: You put your PHP into a normal GetSimple component and call it via DynPages then. A cool feature is that you can even pass parametres to the component so you could code a general 'include text PHP script' and pass the text file name/path to it. Makes it reusable.
Usage info can be found on the plugin's page. If you have more questions, feel free to ask.
execution of PHP is restricted in pages, but you can use a plugin to make it work:
I recommend the DynPages plugin, because you can use it like a component: You put your PHP into a normal GetSimple component and call it via DynPages then. A cool feature is that you can even pass parametres to the component so you could code a general 'include text PHP script' and pass the text file name/path to it. Makes it reusable.
Usage info can be found on the plugin's page. If you have more questions, feel free to ask.