Actions

Difference between revisions of "How do you put a module inside an article?"

From Joomla! Documentation

(new faq)
 
Line 1: Line 1:
 
You can insert a module inside an article using the "{loadposition xx}" command, as follows:
 
You can insert a module inside an article using the "{loadposition xx}" command, as follows:
 +
#Use the menu manager to create a new unique menu name.  This will be used in the module manager to assign the mainmenu module you instantiate.  Its name will appear in the basic parameters menu name list. --[[User:Dpminusa|Dpminusa]] 10:34, 1 March 2009 (UTC)
 
#Create a module and set its position to any value that doesn't conflict 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".
 
#Create a module and set its position to any value that doesn't conflict 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".
 
#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.
 
#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.

Revision as of 05:34, 1 March 2009

You can insert a module inside an article using the "{loadposition xx}" command, as follows:

  1. Use the menu manager to create a new unique menu name. This will be used in the module manager to assign the mainmenu module you instantiate. Its name will appear in the basic parameters menu name list. --Dpminusa 10:34, 1 March 2009 (UTC)
  2. Create a module and set its position to any value that doesn't conflict 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".
  3. 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.
  4. Edit the articles where you want this module to show and insert the text "{loadposition myposition}" in the article, at the place where you want the module to show.

The module will show at that point in the article.