Page 1 of 1

How to install new module

Posted: Wed Dec 28, 2005 7:12 pm
by askme
I want to install new module guest book to my CMSMadeSimple. How can I do that. Is there any auto installation like CMSMadeSimple installation. And how I know that I have installed it correctly. Please guide.

Re: How to install new module

Posted: Wed Dec 28, 2005 7:35 pm
by westis
1. Download the module from the CMSMS Forge in zip or tar format.

2. Unzip/untar

3. Upload the unpacked files (they should be in a dir with the module name) to the /modules directory, so that the new module is in a sub-directory to the modules dir

4. Make sure that the name of the directory is EXACTLY the same as the module name in the module file (for example gastbuch.module.php). It's case sensitive, so make sure it's the right upper or lower case too.

5. Go to Extensions -> Modules in the Admin Panel and click Install next to the new module that should appear in the modules list. Or if you have uploaded files of a newer version of a module that you already had installed, then that link may say "Upgrade" instead.

I think the Gastbuch module may not unpack into a gastbuch dir. Then you will have to create that dir as a sub-dir to /modules and then upload the files into that new dir.

Hope that's clear enough, I just wrote this down very quickly now... :-)

Re: How to install new module

Posted: Tue Feb 07, 2006 10:41 pm
by hurrells
Hello.

CMS 0.11.2 (latest) with
Calendar-0.7alpha2.zip

I have followed the module instructions to the letter and the dirs _exactly match_ the filename. See:

Code: Select all

cms# ls -lat modules/Calendar/
total 77
drwxr-xr-x  4 www-data www-data  1024 Feb  7 17:32 .
drwxr-xr-x  7 www-data www-data  1024 Feb  7 17:32 ..
drwxr-xr-x  2 www-data www-data  1024 Feb  7 17:32 images
drwxr-xr-x  2 www-data www-data  1024 Feb  7 17:32 lang
-rw-r--r--  1 www-data www-data  1491 Nov  5 17:17 calendar_example.css
-rw-r--r--  1 www-data www-data 71369 Nov  5 17:17 Calendar.module.php
-rw-r--r--  1 www-data www-data     0 Nov  4 13:43 index.html
Is there any way to debug what ./cms/moduleinterface.php is doing?

Thank You
Stephen


Re: How to install new module

Posted: Wed Feb 08, 2006 10:38 pm
by hurrells
OK. What a mistake ;-)

I completely copied the CMSsimple site from on server to another and in DNS (eg: test.domain.com to www.domain.com) by tarring the site, mysqldumping the db and so on. So the modules in the www site
where still updating the old test site DB or something. I did not change the config or DB parameters or
values. LoL.