I have a module mod_test: When using, I call in index.php of templates:
<jdoc:include type="module" name="mod_test" />
But when run, this module can't show result ? How to fix it ?
I have a module mod_test: When using, I call in index.php of templates:
<jdoc:include type="module" name="mod_test" />
But when run, this module can't show result ? How to fix it ?
The name attribute references the position on which a module can be called. So you have to define a position give position a name in templateDetails.xml
and then use the module manager to assign the module mod_test this particular position.
Lets say you have a position left defined in templatesDetails.xml
then you will have here
<jdoc:include type="module" name="left" />
and then in your module manager you will go and select your module and assign it position left.
if need more clarification please specify
Modules are rendered on a page using one of the following code example jdoc:include's name="[template position name]" attribute. you should give position check it! http://docs.joomla.org/Jdoc_statements