How do I install a module??

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
bkvernstuen

How do I install a module??

Post by bkvernstuen »

Hi guys (and girls, if we have any of them around!)

I just installed CMS Made Simple, after using Website Baker. Website Baker made alot of mess, and CMS MS doesn't, so the choice of switching was easy...!

Anyways, I'm having major problems locating an install-link or a simple "how-to" for installing modules. I've searched around on this forum a little bit, but couldn't really find anything (I didn't really look too hard either though!)

... So my question is simple; how do I install a module? It's locally on my computer now...


(oh, and by the way... The ProtectedPages.zip-file is corrupt, so it needs to be replaced with a working version, whenever it's time for it...)
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: How do I install a module??

Post by Ted »

-Unzip file into modules directory (would look like modules/ProtectedPages/ProtectedPages.modules.php, etc).
-Go to Extensions->Modules in the admin.  Click install next to the module name.
-Done
bkvernstuen

Re: How do I install a module??

Post by bkvernstuen »

Thanks! That helped!

Sorry for posting this in the wrong topic! Go ahead and move it if you want.
Woudloper

Re: How do I install a module??

Post by Woudloper »

wishy wrote: -Unzip file into modules directory (would look like modules/ProtectedPages/ProtectedPages.modules.php, etc).
-Go to Extensions->Modules in the admin.  Click install next to the module name.
-Done
Isn't there a webbased solution to install modules, just like can be done with Website Baker (see example site on opensourcecms.org)? So that you can select the module you would like to install (.zip file) and that it will automatically be placed in the correct folder, etc.?

Now I need to use FTP to upload a new module onto the server and it would be nice if this could be done through a web interface...
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: How do I install a module??

Post by Ted »

Well, the idea is to take that one step further and have an online catelog of modules that you can download/install automatically.  However, we're not there yet...

That is a nice feature of website baker, for sure, but there are certain criteria that have to be followed.  Everyone has to package them as a zip.  They all have to be packaged the same way (some people have a dir in their zip, some don't).  We need to find a pure PHP method to unzip a file, because I don't want to have to deal with any php modules that aren't built in by default.  If we're also downloading the modules, we need to make sure they are signed someway so people don't accidentally put virus laden files on their box.  etc.

We just want to make sure we're putting out the best and safest code we can and not cause more headaches in the process.
Locked

Return to “CMSMS Core”