Wednesday 15 July 2009 1:33:08 am
Say you make a custom module named "custom" with starting page "index.php" and with params "contentNodeID" In module.php you would have :
$ViewList['index'] = array( 'script' => 'index.php',
'params' => array( 'contentNodeID' ));
In this case the page url would be : "domaine/custom/index/39483" Then i want to remove "index" from the url like this :
$ViewList[''] = array( 'script' => 'index.php',
'params' => array( 'contentNodeID' ));
In this case the page url should be : "domaine/custom/39483" The problem is that due to the contentNodeID param this syntax causes an error. In fact it works if you just hit : "domaine/custom/" but not with the param. Is there something i am missing to have this syntax working with module params ? I hope my description is clear enough. Cheers. M
EZP is Great
|