How to include modules in Content item (for Joomla 1.5.x) |
| Written by kksou | ||||||
| Saturday, 29 March 2008 | ||||||
|
This is in reponse to Ssnobben's posts titled "Having a slideshow module in main page" and "Slideshow on frontpage"
What's even more amazing is that you can use any of the HTML elements to position the embedded module precisely! In this example, I used a standard HTML table to position the module to the left of the text. How this is done?Embedding a module inside a content page is a Joomla "feature". You do not need the DirectPHP plugin to enable this. Ssnobben has rightfully pointed out you need to use something like "{loadmodule mod_fpslideshow}". So below are the complete steps to achieve this. Note that the steps below applies to Joomla 1.5.x only. For Joomla 1.0.x, please refer to How to include modules in Content item (for Joomla 1.0.x). The steps are slightly easier for Joomla 1.0.x. Step 1: Set up the moduleLet's first create a module for use with this example.
Step 2: Create the content pageWe will now create a content item for containing the module.
This is a test to include a module inside a content page.
{loadposition user201}
Step 3: Let's test itNow load the article. Did you see the "Main Menu" appearing inside that article similar to the following?
Note: If you wish to put this as the front page, go to Menu Item Manager - Main Menu, create a menu item linked to this content page, then move it to the first item. The page with the embedded module (for example, it could be a slideshow module) will become the front page. Links
|
||||||
| < Prev | Next > |
|---|










Comments
http://learnwebscripts.com/how-to-add-a-module-to-joomla-2-5-theme
you can learn how to add a search,login,ba nner module to your theme
RSS feed for comments to this post