Closed (fixed)
Project:
Banner
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Sep 2006 at 19:43 UTC
Updated:
20 May 2008 at 14:49 UTC
Jump to comment: Most recent file
I wrote this patch to address several issues raised by some of my users...
It addresses these issues by creating a vocabulary for the positions. And creating a block for each vocabulary term. Admittedly you lose the feature of being able to say you want 10 blocks, all displaying the same position, but advanced users can still create a php block that calls banner_display. I haven't tested it with taxonomy_access yet...
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | banner_taxonomy.patch_0.txt | 11.81 KB | dopry |
| banner_taxonomy.patch.txt | 12.42 KB | dopry |
Comments
Comment #1
dopry commentedoh yeah... I'd like some other eyes to take a look at it.
Comment #2
dopry commentedHere is one with a better clean up .install... The upgrade path needs work... it doesn't beak anything. you just have to create the terms manually and update all the banners... (sounds less than ideal eh?).... I will work on the upgrade path, more, but a functional install from base review would be nice.
Comment #3
wulff commentedad 1) Human readable and definable group names is a very nice feature. A patch existed for the 4.6 version AFAIK but I haven't had the time to implement it.
ad 2) Absolutely. With the human readable names and a block per taxonomy term this is mostly solved, I think.
Re: "Taxonomy Specific Settings": Which settings do you think should be specific to each taxonomy term? Just width and height of the uploaded image or should it limit the types of banner for a given banner group?
Automatic resizing would be nice - upload the same image to the "big square banner" and "small square banner" groups and have them be resized differently. This would also allow us to ship the module with some of the standard banner sizes already set up (http://www.iab.net/standards/adunits.asp).
I have just made a couple of test banners, and the code so far seems to be working.
Comment #4
wulff commentedUser definable group names are now a part of the banner module.
Comment #5
marcoBauli commentedYes, this would be very handy. Actually how can the module tell what sizes are allowed for each Block? Should i specify it in another "instructions" page? Or make my terms more descriptive?
If admins could set in advance different typologies of banners to offer their users (Top Homepage banner, Left sidebar text ad, Single node banner,...) a lot of complicated settings could be avoided for the final users (more about this idea in this other issue here at #16.)
Comment #6
wulff commentedMarking this feature request active. I'll look at automatic resizing when I port the module to 5.0.
I was thinking of making it a setting on the block configuration pages. Each block will have 'width' and 'height' fields to set the desired banner size.
Comment #7
dopry commentedI'll dig up a patch I have to do imagecache integration... for banner.module... It allows you to select imagecache presets per banner group taxonomy term.
Comment #8
dopry commented