Synergy Codeworks

Tips, Tricks, and articles related to open source technology

Nov 24
2009

Load a Joomla Module inside an Article in Joomla! 1.5

Posted by: Anne Saulnier

Tagged in: Joomla!

There is a very neat plug-in that comes with Joomla 1.5 that enables you to embed any module inside any article.  

First, ensure that the "Content - Load Module" plugin is enabled by navigating to Extensions --> Plugin Manager from your Joomla! Administration site:

 Load Module Plugin for Articles in Joomla

 Once this is enabled, you need to switch over to the Module Manager (Extensions --> Module Manager) and find the Module that you'd like to embed within the article.

From the edit mode of the Module, highlight the text that is in the Position field.  It looks like it's a dropdown menu only, but you can actually manually type in any entry you want here!

 Before:

Edit Module Position in Joomla

 

After:

Custom Position in Joomla

 

Now, you can manually choose the pages that you're going to have your module appear by highlighting the correct page on the Menu Assignment select box, or you can just choose to have it appear on all pages and it will still only show up in the articles where you embed the code (shown in the next step).

Menu Assignment in Joomla for Custom Position

Save your changes and navigate over to the Content --> Article Manager page.

Edit or create the article that you'd like to place your Module in and switch to the HTML edit mode (not the What You See Is What You Get - WYSIWYG editing mode).

 Type in {loadposition CustomPosition} where CustomPosition is the text that you entered in the Module's Position field in the step above.

Load Module into Article in Joomla

 Save your changes and navigate to the appropriate page on your site to view your handiwork in action.

Example Custom Load Position in Joomla

 

 

Comments (0)Add Comment

Write comment

busy

Client Login