Share » Forums » Developer » default view for module

default view for module

default view for module

Friday 08 December 2006 6:23:32 am - 2 replies

Author Message

Kristof Coomans

Friday 08 December 2006 6:40:55 am

Hi Claudia

This worked in eZ 3.4, don't know if it still works but I guess it does:

$ViewList['']=...

If you want to have only one view in your module, then define it with the value for the "function" key in the $Module array:

$Module = array("name" => "Test", "function" => array('script' => 'foo.php') );

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Claudia Kosny

Friday 08 December 2006 6:48:44 am

Hi Kristof

Thanks for the answer, it worked. Don't know why I haven't tried this before - it was to obvious I think...

Have a nice weekend

Claudia

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu