Friday 08 December 2006 6:23:32 am
Hi there
is there a way to specify a default view for a module? Example: I have a module 'test' with the following module.php
$Module = array("name" => "Test");
$ViewList = array();
$ViewList['foo'] = array('script' => 'foo.php');
$ViewList['bar'] = array('script' => 'bar.php');
This gives me the urls .../index.php/test/foo and .../index.php/test/bar. But when I go to the url index.php/test I get a kernel 21 error (view not found) which is certainly correct but would rather have the option to display the view 'foo' instead. Is that possible to do from within the extension/module (without needing to add a url translation)? Thanks Claudia
|