I'm going my first steps on php coding for CMSms.
Is it possible a module that's depending more than one other module (for example cmsmailer and captcha) ?
Module dependencies
- Elijah Lofgren
- Power Poster
- Posts: 811
- Joined: Mon Apr 24, 2006 1:01 am
- Location: Deatsville, AL
Re: Module dependencies
Looks like it is possible.quadracer wrote: I'm going my first steps on php coding for CMSms.
Is it possible a module that's depending more than one other module (for example cmsmailer and captcha) ?
Here is the example code that is in the example module skeleton: http://dev.cmsmadesimple.org/projects/skeleton
Code: Select all
/*---------------------------------------------------------
GetDependencies()
Your module may need another module to already be installed
before you can install it.
This method returns a list of those dependencies and
minimum version numbers that this module requires.
It should return an hash, eg.
return array('somemodule'=>'1.0', 'othermodule'=>'1.1');
---------------------------------------------------------*/
function GetDependencies()
{
return array();
}
Hope this helps,
Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. 
