Page 1 of 1

No ouput from module

Posted: Thu Oct 18, 2007 3:21 pm
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?

Re: No ouput from module

Posted: Thu Oct 18, 2007 4:30 pm
by alby
tmk wrote:
Am I missing something?
See this guide and use Skeleton Module

Alby