MoeDesigns.com

Affordable web solutions for the masses...

Client Sites

Member Login



Who's Online

We have 12 guests online
Home Joomla Tips
Joomla Tips and Tricks

There is a lot that goes into a great product like Joomla and when you are working with such a large product you tend to run into a few snags every now and then. This article is a list of helpful hints that may help get others out of a bind when working with Joomla. This list is a constant work in progress so if you have something you want to add, please use the 'contact us' form and I will add it to the list!

Q: How do I load a module in a content item (article)?

A: Edit the content item that you want to insert the module into. The code you use for Joomla 1.0.X is different than the code you use for Joomla 1.5. Where you want the module to show up, place the following code:

 

Joomla 1.0.X: { mosloadposition user7 }

Joomla 1.5.X: { loadposition user7 }

 

Be sure to remove the spaces after the { and before the } but leave the space in before the module position. I had to add the spaces so that joomla would not parse the string :)

 

Here I will load mod_whosonline in the user7 position. The code for this is { loadposition user7 } because I am using Joomla 1.5

 

______________________________________________________________________

We have 12 guests online

______________________________________________________________________

Change user7 to the module position that the module is set to show up on. The UserX positions are great for this because they are generally not used as a standard template module position. Anywho, if the module is to only show up on the content item and no where else on the site be sure to use a module position that is not in use already.

 

Q: How do I show all module positions in my template from the front end?

A: In both Joomla 1.0.x and Joomla 1.5.x this is done the same way, you simply apped ?tp=1 to the url of your site.

Like so: http://www.joomla.com/index.php?tp=1

Be sure to switch out www.joomla.com with your actual site domain.

 

 

 

Here is mod_whosonline

We have 12 guests online