The Loadposition Command

How to display Modules inside Articles

The image shown here illustrates a MODULE being displayed inside an Article using a Custom Position.

loadposition 3

This is achieved using the Loadposition Command.

The Joomla! CMS enables you to create custom Positions in addition to the ones included with your website's Template.

The custom Positions may be created inside Articles and Category introductions.

And therefore presented in the Main Body of your website i.e. between the left and right sidebars.

For more information about Template Positions and Position Maps, visit the link below.

Read more: Position Maps.

Two Alternative Methods

The Loadposition Command is one of two alternative ways of presenting Modules inside Articles using custom Positions.

We focus on it here because it is the method we prefer to use.

Loadmodule Command

The Loadmodule Command allows you to publish just one Module inside an Article.

Example: display the Login Module inside an Article instead of an existing template position.

2) Loadposition Command

The Loadposition Command allows you to publish any Modules you assign to a custom Position inside an Article.

Our preference is to use the Loadposition Command.

loadposition Syntax

The Loadposition Command syntax we use to insert the above Module inside this Article looks like this:


In this example, the word Example is the name of the custom Position.

If you prefer to use the Loadmodule Command then simply interchange loadmodule for loadposition in the above syntax.


The Load Modules Plugin

The Content - Load Modules Plugin must be enabled for you to be able to use either Command.

This plugin is enabled by default in a WYNCHCO Website Design - see image below.

plugin content loadmodule

How to use Loadposition Command

"To insert a module inside an article, use the command, as follows:

  1. Create a module and set its position to any value that doesn't conflict with an existing template position. You can type in the position value instead of selecting it from the drop-down list. For example, use the position myposition.
  2. Assign the module to the Menu Items that contain the articles that you want the module to show in. You can also just assign the module to all Menu Items.
  3. Edit the articles where you want this module to appear and insert the text in the article at the place where you want the module."



1) Display a Module inside an Article

Follow the steps below to use the Loadposition Command to publish a Module inside an Article.

Select Extensions > Modules from the menu at the top of the website Dashboard.

Select a Module.

In the Module screen, look for the Position field under the Module tab.

Add the name of a custom Position to the field, making sure that you:

  • enter a unique name,
  • use only lower case letters without any spaces, and
  • press the return (or enter) key on your device keyboard after doing so.

Example Custom Position


loadposition 1


If you do not press the return (or enter) key then the custom Position will not be created.

When you add the Loadposition Command to an Article using curly brackets (as in the image below), it will call the Module you edited to the screen when the Article is viewed in the front end.

loadposition 2

The Module you edited will now be visible inside the Article when viewed in the front end.

Image shows a Module displayed inside an Article

loadposition 3

We show you how to insert a Text Bubble like the one shown in the above image in our separate article.

Read more: Custom Module Text Bubbles.


Work smarter not harder!

Joomla! Help Support Warrington Cheshire Manchester Merseyside UKWe coach, help and support managers of businesses and organisations across Cheshire, Manchester, Merseyside, North West England and the UK.

Learn how to manage a Joomla! website.