List of Contents

The LOADPOSITON Command

How to display Modules inside Articles

The bordered box below illustrates a MODULE being displayed inside an ARTICLE using a Custom Position.

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.

LOADPOSITION Syntax

The Loadposition Command syntax we use to insert the above MODULE inside this ARTICLE looks like this:

loadposition-command

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 LOADPOSITION Plugin

The Content - Load Position 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."

Source: docs.joomla.org.

EXAMPLES

1) Display a Module inside an ARTICLE

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

2) Display a Syndication Feeds Module inside a Category Introduction

We wanted to display a SYNDICATION FEED button at the top of our JOOMLERS.UK NEWS blog.

The LOADPOSITION Command made this possible.

Read more: Syndication Feeds Module.

 

Using LOADPOSITION to display Modules side by side

LOADPOSITION Command can be used (in conjunction with Bootstrap Size) to display Modules side by side inside an Article.

Note: Bootstrap Size enables Module width to be changed.

Read more: Change the width of Modules.

boxes composite

When used in this way in a WYNCHCO website design, the first Module in the row may be indented slightly (5 PX) from the left.

We show you how to correct this using a Quick Fix Style Set in our separate article.

Read more: QUICK FIX Style Sets.

Work smarter NOT harder!

joomla support cheshire manchester merseyside north west ukWe coach, help and support managers of businesses and organisations across Cheshire, Manchester, Merseyside, North West England and the UK.

Learn how to use your Joomla! website more effectively.