Adding Additional Banners

General questions relating to Joomla! 1.5 There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Locked
RicRogue
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon Jul 23, 2007 7:17 pm

Adding Additional Banners

Post by RicRogue » Mon Jul 23, 2007 7:21 pm

I added a position called banner2. I added a module called banner 2 and assigned it the banner2 position. How do I now assign the banner to that module? I would like to run 2 banners on my site, but when I do this only one banner is repeated. Can I assign one banner to one position and one to the other?

Thanks,

Ric

Just getting used to 1.5. Small learning curve.

 
Redundant
Joomla! Intern
Joomla! Intern
Posts: 69
Joined: Fri Feb 02, 2007 5:37 am

Re: Adding Additional Banners

Post by Redundant » Mon Jul 23, 2007 7:53 pm

Hey,

Did you remember to add the new area into a location within your Index.php template file?

something like:

                    countModules('MyNewBannerArea')) : ?>
                           
                   

I'm new to joomla too... hope this isn't incorrect.

Lottario
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 207
Joined: Wed Jul 04, 2007 2:42 pm

Re: Adding Additional Banners

Post by Lottario » Mon Jul 23, 2007 7:57 pm

Close!  You want a instead of , otherwise, if you do have a module published in the MyNewBannerArea position, the rest of the code will not execute (actually, none of it should execute, as theres an incomplete if statement).  Technically, the if statement isn't even necessary, although its probably better to have it in there for one reason or another.

User avatar
Robin
Joomla! Master
Joomla! Master
Posts: 15753
Joined: Thu Aug 18, 2005 10:41 am

Re: Adding Additional Banners

Post by Robin » Tue Jul 24, 2007 7:47 am

Moderator note: moving from Development 1.5 to New J1.5 Forum Section

RicRogue
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon Jul 23, 2007 7:17 pm

Re: Adding Additional Banners

Post by RicRogue » Tue Jul 24, 2007 12:30 pm

I think my issue is a banner component issue. Is there a way to assign a position in the component? Right now all banners I have are displayed in the "Banner" position. I want some displayed in the "Banner2" position, but there is no variable in the Banner Component. Do I have to add another Banner Component?

Thanks,

Ric
Last edited by RicRogue on Tue Jul 24, 2007 12:32 pm, edited 1 time in total.

 

Locked

Return to “General Questions/New to Joomla! 1.5”