Welcome to Zen_ar218's blogspot.

December 17, 2008

Insert Module into Joomla! Content Item

Insert Module into Joomla! Content Item

Have you ever want to insert your module like polls, counter, Google Adsense to your content? Here is how to do :)

Joomla1.0.x

Step 1. Go to Admin page and check your mambot and enable Load Module Positions. If you click into Load Module Positions, there are few setting here.
  • Published select yes

  • Styles In this field you can should whatever. It will create HTML tag wrap your module.(div tag <div>...</div> or table tag <table>...</table>) I recommended you choose raw output!

insert module in joomla content 01

Step 2. Go to Site=>Template Manager=>Module Positions Create new module position just type anything in to blank field. (I type module position name example, you can see the picture below)


insert module in joomla content 02


Step 3. Go to Module manager and copy which module that you want to show in the content or you can create new one. (I copy poll module)

insert module in joomla content 03

Step 4.
Click in to your copy module (mine is copy of poll) and choose position that you just created in step 2. Publish it and in the Menu Item Links: select All.

insert module in joomla content 04 Step 5. Create your new content and use this tag {mosloadposition yourmodulepostionname} (My module position name 'example', So I just type {mosloadposition example})

insert module in joomla content 05 Finish Now your module will show in your content item!!

Joomla 1.5.x:
  • Joomla 1.5.x mambot change the name to plugin

  • To create new module position, In your copy module setting just click at the Position dropdown menu box and type new name into it. (click on the box not on the arrow)

  • insert module in joomla content 06
  • Use this tag {loadposition yourmodulepostionname} instead of {mosloadposition yourmodulepostionname}





Webmaster of Thai Othello Page

0 comments:

 
Copyright © 2008-2015 zen-ar218.blogspot.com - All rights reserved