AJAX Banner Rotator

Release Notes:
v0.2b released - 30-June-2007
Joomla 1.5 Native Support - 27-Mar-2008
JQuery / Mootools Conflict fixed -  28-Mar-2008

AJAX Banner Rotator works with Joomla! v1.x (on J! v1.5 not been tested yet). it is a combination of “AJAX header rotator” module and “All Banners” module. it simply combines the functionality of both modules.

Once you add the banner ads from standard ad manager component, You can have your ads to be displayed in a slide-show using this module. Configuration is pretty straight forward and if you have ads added to system it will just start working once you insert this module to any module position.

I’m planning to use this as main image of a website related to travel/hospitality industry where users can be given an idea on the locations/hotels/resorts/activities awaiting for them and take them to relevant pages and categories directly (later the service providers may sign up for a premium spot in home page)

Module is available for downloading from http://joomlacode.org/gf/project/ajax_banner/ and its hosted in www.joomlacode.org

Please Note:

  • this module has been developed since there was a need of such a module and it serves the purpose for me
  • my knowledge in php/ajax = 0 and giving technical support would be difficult however comments suggestions and improvements are always welcome
  • this is not a commercial endeavor and you are free do what ever you like with it; yet hope others will also contribute to Open Source Software (i’m just trying to do my bit)

24 Comments For This Post

  1. BBS Says:

    Nice module. I like it a lot, but can’t use it in it’s current form. I currently have numerous different size banners in use and the module automatically resizes them to the size set in the parameters. I would prefer the opposite, that the module size to the banner, as the original banner module does. The other thing I noticed is that it cycles through all the banners in the directory, regardless of whether or not they’re published.

  2. buddhi Says:

    “Possible Fixes” for the comments from BBS

    1. You can copy and create new modules from admin iterface (its a joomla feature) go to admin-interface-for-your-joomla-site > modules > site modules and assign them different IDs in unique id parameter in module config parameters eg: rotator2, rotator 3 and you can have differently sized modules by giving the desired sizes in each copied modules.. (and remember to publish them after copying)

    2. You can giving the client’s name from the module parameters in module config interface (hopefully it should work, i didn’t get a chance to test it myself)

    BBS: Nice module. I like it a lot, but can’t use it in it’s current form. I currently have numerous different size banners in use and the module automatically resizes them to the size set in the parameters. I would prefer the opposite, that the module size to the banner, as the original banner module does. The other thing I noticed is that it cycles through all the banners in the directory, regardless of whether or not they’re published.

  3. Anonymous Says:

    Well thanks, Don’t need it yet but ill remember…

    Always good to see people helping communitys so thanks again

  4. Rob Says:

    This is exactly what I was looking for !!
    But….. works perfect in Firefox, but IE7: all banner show up far right of the actual module….???

    Any idea what this is?

    Rob

  5. buddhi Says:

    Rob: This is exactly what I was looking for !!
    But….. works perfect in Firefox, but IE7: all banner show up far right of the actual module….???

    Any idea what this is?

    Rob

    I’ve tested the module with IE7. Works fine. May be something to do with your CSS.

  6. Norma Says:

    Any way to not specify the image size and just let it detect it automatically? I have banners that may be a different height or slightly different width displaying in the same module position and specifying those things won’t work for me.

    Thanks!

  7. buddhi Says:

    Norma:
    Any way to not specify the image size and just let it detect it automatically? I have banners that may be a different height or slightly different width displaying in the same module position and specifying those things won’t work for me.

    Thanks!

    I’ve not tried it. Even if its possible to use different banner sizes, theres a possibility page getting skewed and length being changed as the different sized banners get rotated making it difficult for viewer to read the content.

  8. Rudi Says:

    Try it in Opera :)

  9. horsegal Says:

    Actually there is another module that I recently tried from http://www.joomlacmssolutions.com which works really well. It displayes 3 images or banners using ajax and joomla without reloading.

  10. Anonymous Says:

    It works fine in firefox, but in IE7 i get a Runtime Error saying Object expected on line 108. any ideas on how to fix this?

  11. Anonymous Says:

    i love how this module works unfortunately its not working properly with my site its making the whole page a link

  12. Revive Coffeehouse Says:

    Tried to install in Joomla! 1.5 and said that it was made for a previous version, but in Joomla! Extensions directory it shows it as Joomla! 1.5 Native.. any help??

  13. DareDevil Says:

    thanks for notifying.. sorry i forgot to publish the update..
    please download the latest release..supports Joomla 1.5 natively.. :) keep me posted on bugs..

    check this out http://kill3rb.blogspot.com/2008/03/ajax-banner-rotator-updated-supports.html

  14. Revive Coffeehouse Says:

    Excellent! The Joomla! 1.5 update was the thing it needed, works like a charm. Thanks again and great dev of this!

  15. Revive Coffeehouse Says:

    Hey, Just as a heads up.. when using this module, it seems to disable the mootools menu effects, reverting them to standard CSS driven menus. So, I have a fancy banner rotator, but no fancy menus : ) Any idea if this can be fixed??

  16. DareDevil Says:

    You (Revive Coffeehouse) are dragging me deeper into this module now :) I never wanted to maintain this as an active project. Many Thanks and please feel free to send comments & bugs this way.

    Hopefully the issue being fixed. Let me know if it works.

    New post related to the update. http://kill3rb.blogspot.com/2008/03/ajax-banner-rotator-uses-jquery.html

  17. Paul Bolger Says:

    Hi

    I hate to be a PITA… but when the AJAX rotator module loads - both in IE6 and in Firefox - I see all the banner images one above the other for a few seconds before it stabilises and behaves properly.
    I added the images by making four banners in the banner component and publishing them all.

  18. Anonymous Says:

    hey,
    i’m recently starting to use your script in my J1.5 installation.

    there is one issue while installing! one file is named jquery-1.2.3.pack.js (or something like that) but the installation expects a file named jquery.js! after renaming the file an repacking the zip it worked for me!

    chao, gunar

  19. DareDevil Says:

    mea-culpa.. i used the new JQuery file but forgot to rename the entry in xml. Fixed the issue and uploaded.. thanks for notifying!

  20. emilio Says:

    hi Daredevil

    thanks for your great contribute!
    I cloned the modules and it works perfect just remember to change the unique id for each module…
    I have just one regret and i append my comment to Paul Bolger`s one.
    I see the images one on top of the other on every page reload before it stabilizes.
    I tried to modify the jqrotator.js
    and mod_ajax_banner.php css lines in every way but without success.
    Can you help me ?

  21. The Pampered Pauper Says:

    Hi!

    Love the Module. For some odd reason (likely my ignorance) when I activate the module, it put a gray box across the entire top half of my page:

    Any idea why?

  22. The Pampered Pauper Says:

    Duh - sorry - a link would be good:

    mysalesimage.com

  23. Richard Says:

    I`ve tried to use the mod, but i get the error on line 112, so is there somebody thats knows how to fix this.

    foreach ($banners AS $banner){ in this line i get the error

    thanks in advance,

  24. Anonymous Says:

    Thanks your message has very much helped me:)

Leave a Reply