As we continue to learn about the Joomla 3.0 banners component, our next topic of discussion is rotating banners.

all-banners-showingWhen you create a banner module, you can specify how many banners you would like to show. Let's say you have 3 banners and you want all to show, your banners will appear vertically, as in the screenshot to the right.

If you have 3 banners though and would only like 1 to show, you would assume that they would rotate, correct? You can have your banners rotate, but this is not the default setting.

 

How to setup rotating banners

In order to have your banners rotate, you must set the banner module's Randomise setting to Stick, Randomise. The following steps will show you how to do this.

  1. Log into your Joomla 3.0 admin dashboard
  2. In the top menu, click Extensions and then click Module Manager
  3. In the list of modules on the page, click on your banner module
  4. Click the Basic Options tab towards the top of the page
  5. Find the Randomise setting on the page, set it to Sticky, Randomise, and then click the Save button in the top left of the page.

    red-banner-showingIn our testing we have 3 banners: a red one, a green one, and a blue banner. After we've enabled rotating banners and test, the banners are randomized and show in the following order:

    * red
    * blue
    * blue
    * blue
    * red
    * blue
    * green
    * red
    * green
    * red

    After refreshing the page 10 times, the red banner showed 4 times, the blue banner showed 4 times, and the green banner was shown twice. It doesn't appear there is any rhyme or reason to how the banners are chosen, they are simply chosen by Joomla at random.
     

Why are my Joomla banners not rotating?

If your Joomla banners don't rotate, you may want to run through the following checklist:

  1. Ensure you have set the Randomise setting to Sticky, Randomise (following the directions above)
  2. Check your Sticky Settings

    set-a-banner-to-be-stickyDo you have any banners that are set to sticky? In our testing, we set the red banner to be sticky, while the other two were not. Because sticky banners take priority, they will always be chosen first over banners that are not sticky. You can either set all banners you want to be shown sticky, or you can set them all not to be sticky.

    Banners can be set to sticky by going to Components » Banners » Click your banner » Set Sticky to Yes / No in the settings to the right of the page.
     
  3. Check banner caching

    disable-banner-cachingIf you have Joomla caching enabled, your banner module may be cached, thus preventing new banners from showing (until your cache clears). You can have Joomla setup to cache but disable caching for your banner module.

    To disable caching on your banner module, go to: Extensions » Module Manager » Click your banner module » Click the Advanced Options tab » Set the Caching setting to No caching
     
  4. Ensure your banner count is not too high

    change-number-of-bannersIf you have 3 banners and you set your banner module to show 3 banners, then all banners will show on top of each other. In order for the banners to rotate, your banner module needs to be set to show fewer banners then you have. If the banner module is set to show only 1 banner but you have 3, then it must randomly pick one of them - this randomness causes the banners to rotate.

    To check the number of banners your module is set to show, go to: Extensions » Module Manager » Click your banner module » Click the Basic Options tab » Find and adjust the Countsetting as needed
     
  5. Check Impression limits

    You can configure certain banners to only show X number of times, and this is referred to as Max. Impressions.

    max-impressions-hitIf a certain banner is not showing, check to see if it has reached its max impressions. To do this, go to Components » Banners. Find your banner in the list, and check the value under Impressions. As you can see, we have one banner that has been shown 27 of 27 times, and it will not be shown any longer.
     

    change-max-impressionsIf you need to adjust the impression limits for a banner, you can go to Components » Banners » Click the banner in question » Click the Banner Details tab » Find and adjust the Max. Impressions setting

     
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Like this Article?

Comments

Post a comment
n/a Points
2014-05-26 3:51 am

This was super helpfull!! Thank you so much

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

News / Announcements

WordPress wp-login.php brute force attack
Updated 2014-07-17 06:43 pm EST
Hits: 201633

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Joomla Community Google+ Hangout #3

June 3rd, 2014

Thank you @RustyJoomla for letting me speak on the Joomla Community Google+ Hangout!

Click here to watch!

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!