module url question
Jamroom Developers
I don't think you can run module templates directly.
You can call module 'views' to do the job, which is preferable as templates usually need some smarty parameters to work with.
http://mysite.com/moduletest/mypage will take you to the function (in the module's index.php) view_myModuleTest_mypage()
So then, in that function -
function view_myModuleTest_mypage($_post, $_user, $_conf)
{
$_tmp = array();
// Do whatever needs to be done to build the template smarty parameters into the $_tmp array
// parse the template
return jrCore_parse_template("mypage.tpl", $_tmp, 'myModuleTest');
}hth
Pa