[SOLVED] Banners Modules Help

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
BenedictPorter
Forum Members
Forum Members
Posts: 36
Joined: Fri Mar 06, 2009 5:33 pm

[SOLVED] Banners Modules Help

Post by BenedictPorter »

My client wants to use the Banners module on his site and I have installed it and set it up.

He now wants to be able to specify what category of banner appears on each individual page depending on the content.

I don't want to create lots of different page templates with lots of different Banners Module tags in them so I was hoping I could insert a Content block into my template so the client could simply specify a category when they created a page. This doesn't seem to work.

Does anyone have any other ideas on how I could get this functionality?
Last edited by BenedictPorter on Wed Aug 12, 2009 10:28 pm, edited 1 time in total.
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm
Location: MI

Re: Banners Modules Help

Post by Jeff »

Somewhere in the body:
{capture assign=category}{content block=Category oneline=true}{/capture}


at the bottom (I don't know the module syntax just guessing)
{banners cat=$category}
BenedictPorter
Forum Members
Forum Members
Posts: 36
Joined: Fri Mar 06, 2009 5:33 pm

Re: Banners Modules Help

Post by BenedictPorter »

This works great - just what I needed.

Thanks for your help.
BenedictPorter
Forum Members
Forum Members
Posts: 36
Joined: Fri Mar 06, 2009 5:33 pm

Re: Banners Modules Help

Post by BenedictPorter »

As a little extra, is there a way I can call a list of available categories and have these appear in a drop-down list in my content block?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Banners Modules Help

Post by calguy1000 »

That'll be coming with CMSMS 1.7.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
BenedictPorter
Forum Members
Forum Members
Posts: 36
Joined: Fri Mar 06, 2009 5:33 pm

Re: Banners Modules Help

Post by BenedictPorter »

Thanks Calguy, that's good to know.
Post Reply

Return to “Modules/Add-Ons”