Joomla! How-To's: Modules

Quick Tip: Do not use the template chooser module (unless you have a very good reason)

Written by Cory | March 26, 2007 | Add Comment (9)

Almost four years ago was the first time I ever used Mambo (the predecessor to Joomla!). As I played around with my newfound toy, I thought the template chooser was one of the coolest modules available. I could just imagine the possibilities. Users could customize the look of my site for how they wanted to view it. I could install 100 templates and let the visitor choose which one he or she liked best.

However, over time I came to realize that the template chooser module was a relatively useless feature that was very difficult to manage. Sure, I could install 100 templates and give users a choice, but those 100 templates would likely have very different layouts and include different sets of module positions. For example, one template might put the "left" module position in the left column while another template would place it at the bottom of the layout while yet another template might not include the left module position at all. You can imagine the headaches this type of situation might cause.

When developing your site, you should give careful consideration to where you want your modules positioned on the page and how you want your site to flow. It's difficult enough to accomplish this with one template, much less several templates. Also, your site's brand identity is dependent upon the design of the site. Giving your user multiple layout options only dilutes your brand and sends mixed messages to the end user.

You might have a valid reason to use the template chooser module, although at the moment I cannot think of an example of a good reason. If you do not have a specific reason to use the template chooser module (other than the "hey, that's neat" factor), my advice to you is not to use it.

   

How to add a widget to a module

Written by Cory | March 15, 2007 | Add Comment (10)

Wikipedia defines a widget like this:

A web widget is a portable chunk of code that can be installed and executed within any separate HTML-based web page by an end user without requiring additional compilation. They are akin to plugins or extensions in desktop applications. Other terms used to describe a Web Widget include Gadget, Badge, Module, Capsule, Snippet, Mini and Flake. Web Widgets often but not always use Adobe Flash or JavaScript programming languages.

For example, the "Help Azaria" module in the left column of this site uses a widget from ChipIn.com (to test it, make a donation to Azaria's Dolphin Therapy fund to see the progress bar go up - wink wink). Many "web 2.0" sites offer widgets for blogs and other sites to display their content or tools for performing a specific task (like raising money via the ChipIn widget). It is a great way to add content or functionality to your site with very little effort. The process for embedding a widget to your site is usually just copying and pasting a snippet of code into the appropriate location.

The problem is, Joomla!'s built-in WYSIWYG editors strip out parts of the widget's code causing it to work improperly. With this article, I will explain how to work around that problem and get the widget embedded into a user module without stripping out code.

   

How to Display the Same Module in Multiple Positions

Written by Cory | September 29, 2006 | Add Comment (21)

A relatively new feature of Joomla! is the ability to display the same module in multiple positions, and varying it depending on which page you are looking at. For example, you might want to display the search module in the header position on home page, but you want it in the left position on each sub page. Here is a quick and easy way to accomplish this.

   

Join the HowToJoomla Community!

  • Create a profile
  • Connect with other members
    of the community
  • All for FREE

Sign up now!

 

Already a member? Login here.

HowToJoomla is proudly hosted by Eleven2

 
 
 

Search the Joomla! Community for Resources

 
 

Latest Community Activity

Today
Cory and depika are now friends 12:47 PM
Yesterday
shashidhar replied in a discussion Need help 07:11 AM
shashidhar joined a group HowToJoomla! 07:10 AM
4 days ago
Shine Rankin replied in a discussion Need help 05:00 AM
Shine Rankin joined a group HowToJoomla! 04:59 AM
2 weeks ago
michael cuanico added Feeds application Jun 14
3 weeks ago
John joined a group HowToJoomla! Jun 10
 

Welcome to Our Newest Community Members

wil san
Ty Moyer
namal
krishan
shashidhar
leland
Jack Barakitis
Jim Livingstone
Robert Teufel
Amirul Azizi
James Hafner
Mahmood Anwar
 
 

Latest Comments

How to embed a Googl

I have embedded many times google maps to joomla, ...

Beginning Joomla! We

Thank you for given this great post.... ...

How to embed a YouTu

Hello, I have installed this plug in its working g ...

Blank Joomla! 1.5 Te

can rebrand to control panel logo? ...

How to Move Your Joo

Thank you for this. It worked like a dream for me ...