Link to home
Start Free TrialLog in
Avatar of turpya
turpya

asked on

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

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?

Thanks


ASKER CERTIFIED SOLUTION
Avatar of austega
austega
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.