Hey guys, i have a crude landing page here : http://kensington-gardens.co.uk/index.php as you can see the PHP in the form isnt actually being parsed, rather displayed.
From the original index.php file (located here : http://kensington-gardens.co.uk/test/) you can see it works fine, any suggestions as to whats going on?
Many thanks!
Parsing PHP in form
Re: Parsing PHP in form
We need more info... but by default (and for security reasons) php parsing on the Smarty templates is turned off. The best way to use php on a template is by using UDT's.
HTH
HTH
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: Parsing PHP in form
You are aware that there is a very nice module to create forms?
http://dev.cmsmadesimple.org/projects/formbuilder
http://dev.cmsmadesimple.org/projects/formbuilder