We help IT Professionals succeed at work.

Joomla 1.5: Display banner in module position according to section?

turpya asked
Last Modified: 2012-05-09
I am developing a Joomla! 1.5 website, that uses a template containing a few typical module positions: header, menu, content, footer. To the left of the content position, I have another position called 'lhs-banner'.

I will have 9 banners in total (possibly jQuery or Flash-based), one for each of the 9 sections.

When a site visitor loads a page, I would like a banner to display in the 'lhs-banner' position, ie. display the banner that corresponds to that pages' section.

Another alternative would be to display a banner based on the vertical sub-menu selected (I am using superfish).

Can anyone advise how to do this?


Watch Question

This one is on us!
(Get your first solution completely free - no credit card required)

I agree with Austega, but I have found that using the plugin Advanced module manager (http://extensions.joomla.org/extensions/administration/admin-structure/10307) really helps in this kind of situation. I also, instead of using the banner module, just use a custom HTML module.

Hope this helps
The Joomla Banner manager (or it's Advanced" equivalent will also allow you to insert custom code in the banner instead iof a link and a graphic. Normally this is JS and or html code containing the link to the image on another server and the link proper but it may also allow you to insert your own custom code.

Frankly, I have never tried inserting Jquery there or any of my own custom code, just the JS some resellers give you, but it may work. Give it a shot.

There is also a commercial extension that allows for a bit more horsepower in the banner ad department. It's made by Ijoomla and I believe it;'s called AdManager.
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.