Page 1 of 1
Add PHP within a page
Posted: Tue Dec 19, 2006 1:12 pm
by Jimbo7
Hi all,
This is my first experience with CMS Made Simple, and I have to say I am finding it amazing - incredibly versatile and customisable, I couldn't find any other cms that would do what I wanted!
What I am looking for a way to do is to have some of my own php inside a page - for example a custom contact form my coding man has written, and a little php function for my newsletter signup box on all pages.
How do I do this in CMS Made Simple? I can't just put the PHP into the pages, so presumeably I need to put it somewhere else and then call it in?
Thanks in anticipation,
Jimbo
Re: Add PHP within a page
Posted: Tue Dec 19, 2006 2:02 pm
by mahjong
Welcome to CMSMS.
Please read all the documentation. You'll find a lot of useful answers like the one you are searching for.
Please search the forums. 99.9% beginners questions have already been answered... more than ten times over.
http://wiki.cmsmadesimple.org/index.php ... fined_Tags
http://forum.cmsmadesimple.org/index.ph ... 629.0.html
http://forum.cmsmadesimple.org/index.ph ... 939.0.html
...
...
...
Re: Add PHP within a page
Posted: Tue Dec 19, 2006 2:28 pm
by Jimbo7
mahjong wrote:
Please read all the documentation. You'll find a lot of useful answers like the one you are searching for.
Please search the forums. 99.9% beginners questions have already been answered... more than ten times over.
Thanks very much for those - I'm be a bit more thorough in my searching before posting a question next time! Hopefully that's the only problem I will encounter - everything else seems to be going reasonably smoothly...

Re: Add PHP within a page
Posted: Tue Dec 19, 2006 11:11 pm
by Elijah Lofgren
Jimbo7 wrote:
mahjong wrote:
Please read all the documentation. You'll find a lot of useful answers like the one you are searching for.
Please search the forums. 99.9% beginners questions have already been answered... more than ten times over.
Thanks very much for those - I'm be a bit more thorough in my searching before posting a question next time! Hopefully that's the only problem I will encounter - everything else seems to be going reasonably smoothly...
It's ok Jimbo. Thnaks for using CMSMS!

But, understandably, everyone gets tired of doing the same thing over and over, including answering questions.
I think maybe we should put a prominent link to the FAQ in a sticky topic in the forums:
http://wiki.cmsmadesimple.org/index.php/FAQ
Then questions that get asked more than once can be added to the FAQ making things nicer for everybody.
Have a good day,
Elijah
Update: I found where the answer to this question was posted in the wiki (I thought I remembered it there, but that goes to show you that we need to work to make it easier to find):
http://wiki.cmsmadesimple.org/index.php ... hp.7D_Tags