[SOLVED] Newbie question about installing a module

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
peter2108
Forum Members
Forum Members
Posts: 10
Joined: Sat Feb 09, 2008 10:23 am
Location: Wakefield, UK

[SOLVED] Newbie question about installing a module

Post by peter2108 »

I have written a simple module Foo based on the Skeleton module. How do I install Foo?

I guess that I can add a folder Foo under the modules folder and CMS will find this folder and install the module for me.  But I may be completely wrong about this.

Unfortunately placing Foo in the modules folder just kills the admin.

This could be because Foo is full of errors, or it could be because you can't install modules by just populating the Modules folder and leaving the rest to CMS.

Can someone clarify this for me please?

Many thanks,

Peter
Last edited by peter2108 on Sun Aug 08, 2010 8:44 am, edited 1 time in total.
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: Newbie question about installing a module

Post by Jos »

peter2108 wrote: I guess that I can add a folder Foo under the modules folder and CMS will find this folder and install the module for me. 
Your assumption is almost right. CMSms does find the new folder and show it in the modules list (extensions -> modules). There you will see a link to install the new module... if it is free of errors of course  ;)
peter2108
Forum Members
Forum Members
Posts: 10
Joined: Sat Feb 09, 2008 10:23 am
Location: Wakefield, UK

Re: Newbie question about installing a module

Post by peter2108 »

Ah ... now all is clear. Many thanks.

Peter
Post Reply

Return to “Developers Discussion”