I started writing my own module for CMS Made Simple MS
but when I try to use it, this message appears
:
where it's inserted
how do I remove this message? and what am I doing wrong?
first, the module name is case-sensitive.
Copy the module name from the module manager exactly as it's written there,
second, check the full insertion syntax
it is as follows: {cms_module module='name_module' parametr='p1' parametr2='p2' }
for those familiar with delphy this is equivalent to
function cms_module ('name_module','p1,' 'p2'): string; ::biggrin24.gif::
third, in the module itself, in the name_module class in the file
(/module/name_module/name_module.module.php)
class name_module extends CMSModule
{....
function IsPluginModule()
{
return true; you must be sure to specify that it works as a plugin — otherwise there will be no output...
}
Comments