Site icon JoomTech Solutions

How to use Joomla module positions in Joomla 4?

How-to-Use-_loadposition_-and-_loadmodule_-in-Joomla

How-to-Use-_loadposition_-and-_loadmodule_-in-Joomla

Joomla module is a block of code that displays the data on the page. Joomla provides a facility to add modules on the positions that are defined in the template. In this article, we will learn how to use Joomla module positions in Joomla 4.

Sometimes we need to add a module where template positions are not placed on the page. If you want to add a module within the article where Joomla template positions are not available.

There are two ways in Joomla that allow easy place directly.

Let See: How to connect Joomla with an SQL Server?

Step1: Enable the Load Module Plugin

loadmodule plugin

Before applying both methods we need to enable the load module plugin from the plugins manager.

Step2: Add module by Module Button

module button

click-green-module-button

This module will display the all latest articles (news) using the loadmodule_id as below-

{loadmoduleid 28}

load-module-editor

Step3: Add Module using {loadmodule}  and {loadpostion}

Let See: How to update Joomla to latest version

Let me explain both methods in detail below.

loadmodule_mod_login

After saving this article, It will look like this at the front end:

front-mod-login

 

loadposition_module

After saving the module and entering syntax in the article as below-

loadpositions_bookstore

Let See: How to install Joomla template on Server

After saving the article it will look like this on the front end

front-loadposition
Exit mobile version