If you have used Joomla previously , you might be already knowing Joomla supports modules positions, the advantage of having module positions in Joomla template is that you can easily insert your modules into the site. In Joomla, you can also create your own modules and insert these modules into Joomla articles easily. Using modules can be timesaver, since you can create a module one time in the Module Manager and then simply place it into any number of articles on your site.
To insert a new module into Articles, follow the steps below.
1. In Joomla go to Extensions>Module Manager. Then click on New to create a new module.
2. Select Custom HTML from the list of available modules. You can also put other types of modules in articles)
3. Name your module. In this example, we have named the module “Sample”.
4. Set show title to “No.”
5. For the module Position, click on the position and type in a new position name. In this example, we have called the new position “Custom”.
6. Now in the custom HTML area, insert you HTML code which you want to show on the website.
7. Go into the Article Manager and open up an article where you’d like to put this module.
8. Now in the article where you want to insert the new module created, use this code “loadposition modulename”, where replace the modulename with the actual name of the module created, in this example, name is custom.
Once done, save the article and you can see the new module in action in the article.