Parsing PHP in form

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
eddyR3
Forum Members
Forum Members
Posts: 52
Joined: Tue May 14, 2013 6:51 am

Parsing PHP in form

Post by eddyR3 »

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!
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1968
Joined: Mon Jan 29, 2007 4:47 pm

Re: Parsing PHP in form

Post by Jo Morg »

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
"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!
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Parsing PHP in form

Post by velden »

You are aware that there is a very nice module to create forms?

http://dev.cmsmadesimple.org/projects/formbuilder
Post Reply

Return to “Layout and Design (CSS & HTML)”