Page 1 of 1

Adding PHP Content

Posted: Mon Mar 19, 2007 7:35 am
by afkham_azeez
Hi Guys,
I just started evaluating CMSMS, and when I add PHP content and save it, CMSMS removes all PHP code. I'm sure I'm doing something wrong. Could someone please tell me how to do this correctly?

Basically, I want to have a single PHP page which captures data & stores it in a MySQL DB. This PHP page was added as new content.

Thanks in advance
Azeez

Re: Adding PHP Content

Posted: Mon Mar 19, 2007 8:00 am
by cyberman
That will work cause content is parsed by smarty. There are many other options to do that. The easiest is to use a userdefined tag (admin, menu extensions).

Re: Adding PHP Content

Posted: Mon Mar 19, 2007 10:28 am
by Dee
See also the Developer's FAQ.

Regards,
D