Joomla: How to Add Modules to Articles

Joomla has a little known feature that makes it very easy to add modules to your articles.

  1. Enable the plugin Content - Load Module.
    From the menu, select Extensions > Plugin Manager and click Content - Load Module.
  2. Configure the plugin.
    - Select Yes for the Enable Plugin option.
    - Select a style from the Style list. For cleaner code, do not use the styles with table code.

    joomla-content-load-module-plugin-config.png
  3. Open the article in which you want to add the module and insert the following code where you want the module to appear: load-position-code.png

    positionName can be anything you like, but use only alpha numeric characters and do not use an existing module position. For example, load-position-code.png
  4. From the menu, select Extensions > Module Manager and then click New.
  5. Click the link for the module you want to create.
    Joomla displays the Module Edit screen.

    joomla-module-edit-screen.png
  6. In the Title field, add a module title.
  7. If you want the module title to be displayed, click Yes in the Show Title option.
  8. In the Enabled option, click Yes.
  9. In the Position field, double click to select text and type the name of the module position you created in step 3; eg, myNewPosition.

    IMPORTANT
    : You can enter any name you want but use only alpha numeric characters and do not use an existing module position.
  10. Click Save to save the new module.
  11. Navigate to the page in which you added the module to verify that the module is displayed.

    IMPORTANT:
    If you don't see the module but you see the loadposition code, you probably forgot to publish the Content - Load Module plugin.