Navigation:    Home arrow Joomla arrow Modules arrow How to use Joomla Modules
Apr 19 2006
How to use Joomla Modules PDF Print E-mail
(8 votes)
Written by eyez   

Modules: small blocks that can displayed in various spots around (and in!) your main content.. how to use them?

There are two main ways to create modules, two main ways to use your modules, and many ways to change a page look with their settings.

Creation:

  • install new ones via the Installer => Modules link
  • create your own from the admin interface.
    NOTE: If you want to use code such as the object tag for an SWF or an image tag etc, it's best to disable your editor (Site => Global Configuration => Default WYSIWYG Editor : No) before pasting the code into the custom box!

Usage:

  • load the into a module position coded into your site's template
  • load all published modules assigned to a certain position into a content item via a mambot call.

When editing a module from the Module Manager screen by clicking its name, you can very easily assign or change any of the existing positions. If this position is present in your template, all modules assigned to it and published will be shown in the order they have in the Module Manager screen. Which positions are available to you, and where they are located in the template is very easy to see via the Site => Preview => Inline with Positions menu.

Modules can also be loaded into your content items via the { mosLoadModules (positionName) } call, so for example you publish the poll module to position left (and no other module!), and then load it into an article with a poll corresponding to the subject.

Settings:

  • set the access level to "registered" and the module will only be visible to logged in members of your site
  • change the module position, and your page will change accordingly
  • assign a module only to selected pages by selecting them on the list of existing menu items on the parameters screen, and it will show up only on these -magic!
  • add a sticky intro text into a custom module, create a position for it in your template above the main content.
    Easy to update from admin, easy to unpublish or publish as needed with just one click ...

As you can see, modules are very flexible, easy to add/remove/hide, so use them extensively!

Comments (1) >> Feed

K123 said:

 
I've been looking for info about custom modules/user modules and wondering if they would be the right technique for adding content to the homepage, specifically static content such as and introduction.

Very useful and simple break down of the module options
June 07, 2007 | url
Write comment

busy
Tags: joomla, mambot, plugin,
Last Updated ( Thursday, 20 April 2006 )
 

Syndicate Joomla!

RSS Joomla Article Syndication

Polls

Do you want more tutorals about:
 
Home | Sitemap | Contact Us