Using PHP Scripts W/ CMS Made Simple

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
chugger93
Forum Members
Forum Members
Posts: 16
Joined: Wed Jan 06, 2010 2:36 pm

Using PHP Scripts W/ CMS Made Simple

Post by chugger93 »

I'm new to this product and have found it to be the best out there.  Are there ways to integrate other PHP scripts with it tho?  For example.. if I have a PHP script or a few PHP pages where my users are authenticated etc from a database...can I somehow plug that into this CMS so that my website would be fully functional and I can transition away from my older design?
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: Using PHP Scripts W/ CMS Made Simple

Post by RonnyK »

PHP-script can be put in CMSMS by using a UDT (Extensions -> User Defined Tag), where you NOT wrap it inside

then you can call the UDT where you want...

Ronny
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Using PHP Scripts W/ CMS Made Simple

Post by Wishbone »

When I have a script that I don't need to modify that often, I put them in the /plugins directory to save a database call. I only do this when I'm migrating an existing site to CMSms.. When designing a new site from scratch, I prefer to create a proper module.
User avatar
kidcardboard
Forum Members
Forum Members
Posts: 54
Joined: Mon Sep 28, 2009 5:25 pm

Re: Using PHP Scripts W/ CMS Made Simple

Post by kidcardboard »

wishbone wrote: When I have a script that I don't need to modify that often, I put them in the /plugins directory to save a database call. I only do this when I'm migrating an existing site to CMSms.. When designing a new site from scratch, I prefer to create a proper module.
I second that. I've used both approaches. It really all depends on what you're doing.
Post Reply

Return to “Developers Discussion”