No ouput from 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
tmk
Forum Members
Forum Members
Posts: 25
Joined: Sun Sep 23, 2007 4:07 am

No ouput from module

Post by tmk »

I have a module... all the Admin stuff works well...

The problem is getting output on the front end of the site.

In the page I want to display the data, I have

Code: Select all

{cms_module module=MyModule}
Doesn't choke... doesn't output anything

I have the file:

action.default.php

I've put in

Code: Select all

 echo "Hello World";  // nothing!
I've put in

Code: Select all

function DoAction ($action, $id, $params, $returnid = -1) {
  echo "Hello World from DoAction";  // still nothing!
}
plugin is set to true in  MyModule.module.php

Am I missing something?
alby

Re: No ouput from module

Post by alby »

tmk wrote:
Am I missing something?
See this guide and use Skeleton Module

Alby
Post Reply

Return to “Developers Discussion”