In general, I am writing my Joomla 3 template and here I needed to display my module, in it a simple html code, in the template folder I created the html daddy and in it the mod_mymod folder and in it the default.php file in which my code resides. How now to display this module in the template itself?

I tried to write like that.

 <jdoc:include type="modules" name="mymod"/> 

But the module is not displayed, how to display it? Help to understand the guys.

  • What, no one can tell? - Anatoly

2 answers 2

You must also add your module (mod_mymod) in the modules called mymod, and do not forget to set the position and display pages there.

    Add <position>mymod</position> templateDetails.xml file