Weekend Special: Get 1 year of the Everything Club for $59! You save $85!
  Offer ends in 1
Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!

Modules

| Modules
How to Display the Same Joomla! Module in Multiple Positions

Joomla allows you to display the same module in multiple positions and place it on different pages.

For example, you might want to display the "Search" module in the "search" position on your Home page, but you want it in the "left" position on each sub-page.

Here is a quick and easy way to accomplish this.

Read more ...

| Modules

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.

| Modules

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.

Read more ...

Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!