Tuesday 17 February 2009 5:21:46 am
hello, I'll be back soon to make it ezpublish 4 compliant, but there won't be any new functionality if you don't want the bug anymore before my update, when you have built an extension with modules, you're new module.php should look like:
<?php
$Module = array( "name" => "module1","variable_params" => false );
$ViewList = array();
$ViewList["view1"] = array(
"functions" => array( "read" ), //<= watch here
"script" => "view1.php",
"default_navigation_part" => "ezcontentnavigationpart",
"params" => array( ),
"unordered_params" => array( )
);
$FunctionList['read'] = array(); //<= watch here
?>
the "$FunctionList['read'] = array();" wasn't needed in the previous versions so thats why it is missing and with that line you're new views will be available ! note that "read" is only an exemple, it's used for the roles and policies
thanks for using my contribution ++
|