void smarty_function_moduleinc(
array $pParams, &$gBitSmarty, string $pParams['module_rsrc'], integer $pParams['cache_time'])
|
|
moduleinc
Usage: add to the body of any .tpl file Example: {inlinemodule file="_custom:custom/my_custom_module" cache_time=600}
Note: currently only supports custom modules generated in themes package, could support any module with more work
Parameters
array |
$pParams |
|
string |
$pParams['module_rsrc'] |
the full name of the template, example: _custom:custom/my_custom_module |
integer |
$pParams['cache_time'] |
seconds the template will be cached |
|
&$gBitSmarty |
|