Forums / Developer / default view for module / Comment47433
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