[SOLVED] Module not appearing in Modules page

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
paulr2007

[SOLVED] Module not appearing in Modules page

Post by paulr2007 »

This is probably easy once you know how.

I've created a module previously with ModuleMaker, but this is now saying "Maximum CMSMS Version Supported: 1.0.5".

So I copied the folder and changed names (yes and the references, the class name, the lang array).  As far as I can tell I changed ALL the names.  It doesn't appear in the modules page and therefore cannot be installed.  Clues anyone?

Failing that is there guide to the way the module API works rather than the auto generated thing?

>:(
Last edited by paulr2007 on Wed Aug 22, 2007 4:11 pm, edited 1 time in total.
alby

Re: [SOLVED] Module not appearing in Modules page

Post by alby »

paulr2007 wrote: This is probably easy once you know how.

I've created a module previously with ModuleMaker, but this is now saying "Maximum CMSMS Version Supported: 1.0.5".
Check in your YOURMODULE.module.php for a function:

Code: Select all

function MaximumCMSVersion()
{
  return '1.0.5';
}
and substitute with:

Code: Select all

function MaximumCMSVersion()
{
  return '1.2';
}
Alby
Post Reply

Return to “Developers Discussion”