TemPlaza, the website built and improved by TemPlaza., JSC. We supply templates and other qualified applications on Joomla and WordPress.
How to Load Module in Joomla Article
Most Joomlers know that the Joomla! com_content let us load a module in an article. But, how to do? And what about TZ Portfolio component? So, in this article, we will help you to solve this problem. Following are steps to create an article loading a module with Joomla content and TZ Porfolio as well.
I. Content - Load Modules Plugin
This is a plugin allowing Joomler to insert a module in an article according to the module positions or modules name. Also, there are many styles for the module and also you can specify it as your expectations. With this plugin, all you need is place the syntax or inside the article at the point you want. As the result, the article will cause that module to show at that point in the article.
Before using this feature, you need to go to Extension Manager > Plugin Manager then Enable and Public this Content - Load Modules plugin.
II. Module Configuration
To load a module successfully, this module should be published, set public access and assigned at least one menu item with specific position in the page layout.
In this article, we take module Login as an example:
• Module name: Login
• Module type: login
• Position: position-7
• Assignment: All pages
• Status: Published
• Access: Public
III. Article Content
For the article you choose to place module, it also should be published and set public access. In addition, it has to be assigned to a published menu item as well. And you can have a suitable configuration to meet your requirement.
We take an example here with Test Article in Test Category of menu item Home with TZ Porfolio Single Article type. And all of them are published with public access.
All you need is put the right syntax inside the content of article at the point you want it appear in the page.
1. LOAD MODULE
Or if you just need to load a specific module in many modules with this module type.
For example, we have more than one login module e.g. titled as Login, Login1, Login2, it should be used for the module titled as Login.
You can also add the style that is used for rendering the module, to do so add the style as third parameter like .
2. LOAD POSITION
For example, we use syntax to load module Login at this position.
However, if there is more than one module in that position, it will load all of modules into the article. Thus, to load just one module, user should use the load module syntax or assign the module to an individual position.
As the result, when go to Home, we can see module Login inside the Test Article.
Here are all essential steps to load a module inside a Joomla! article. We hope that it will help you to have a nice page.
Wish you have a nice time with TemPlaza!