Forums / Extensions / Module in class view / Comment62324
Ivo Lukac
Tuesday 05 October 2010 1:12:37 am
In module.php of your extension module you need to specify a function list. e.g.:
$FunctionList['some_function'] = array( ); //FUNCTION WITHOUT LIMITATION
Then in the same file for module view specify that function:
$ViewList['some_view'] = array( 'script' => 'some_view.php', 'functions' => array( 'some_function' ), 'params' => array( ) );
http://www.linkedin.com/in/ivolukac http://www.netgen.hr/eng/blog http://twitter.com/ilukac