Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

[HOW TO] Add a slideshow inside a Joomla! article, K2 item etc.

  • JoomlaWorks
  • JoomlaWorks's Avatar Topic Author
  • Offline
  • Admin
More
12 years 9 months ago #46468 by JoomlaWorks
All Joomla! versions come with the "load position" content plugin. By enabling this plugin, you can load module positions inside your Joomla! articles, K2 items, Virtuemart products etc. Here are 2 short tutorials on how to do that in general...


How do you put a module inside an article?
You will usually want to associate modules with articles in some way. The modules are allocated to module positions and the module positions appear somewhere on the Web page as determined by the template. However, it is sometimes useful to have a module actually embedded within the article.

To insert a module inside an article, use the {loadposition xx} command, as follows:
  • 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.
  • 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.
  • Edit the articles where you want this module to appear and insert the text {loadposition myposition} in the article at the place where you want the module.

Note that this only works when the Content - Load Module plugin is enabled. If this plugin is disabled, the text {loadposition myposition} shows unchanged in the article.

Reference: docs.joomla.org/How_do_you_put_a_module_inside_an_article%3F


How do you assign a module to a position?
Navigate to Extensions>>Module Manager.
(Note: all available modules show up under this Module Manager, even though some of them are built into Joomla! and are not extensions.)

On the left side of the page, on the third line, there is a menu that lets you select the position. You also can create a new position name on the fly but typing it in the same space as the menu. (In that case, make sure the same position name also appears in the template file.)

Modules that are not published will not display.

Modules can be assigned to unused positions (positions not available in the template) if you want to have them published but not displayed in a position (for example, if you want to display a module in content). See "How do you put a module inside an article?" above for instructions on putting a module inside an article.

Multiple modules may be assigned to the same position. They will be displayed in the order shown for modules in that position in the module manager.

If you want to display a module in more than one position, use the module manager new icon to create an additional copy and assign that copy to the second position.

Reference: docs.joomla.org/How_do_you_assign_a_module_to_a_position%3F

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
The topic has been locked.

Powered by Kunena Forum