You get a bonus - 1 coin for daily activity. Now you have 1 coin

CMS Made Simple: "" error, module doesn't work

Practice




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

To leave a comment

If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Lectures and tutorial on "Running server side scripts using PHP as an example (LAMP)"

Terms: Running server side scripts using PHP as an example (LAMP)