It would be nice if an image advert could choose from a selection of images (cyclically or randomly), all with the same target URL.
Keeping track of the most popular image would be useful too.
It would be nice if an image advert could choose from a selection of images (cyclically or randomly), all with the same target URL.
Keeping track of the most popular image would be useful too.
Comments
Comment #1
jeremy commentedYes, it would be nice, agreed. But I'd like to take it further, I'd like to be able to arbitrarily group any types of advertisements together, so say you could have an image ad, an html ad, and two text ads. When grouped together, the group would be selected as if it were simply an ad, then an ad from within the group would be selected for display...
I plan to implement this eventually. Patches aiming toward this goal would also be welcome.
Comment #2
jeremy commentedUpdating title to reflect my eventual plans for this feature.
Comment #3
iantresman commentedHopefully not forgetting cyclically (as well as random).
And how about Keyword filtered? eg. If an article is in the category "Fish", it will filter the available adverts to those that also have the category "Fish", etc.
Comment #4
jeremy commentedThat is a completely different thing, changing whether an advertisement is selected randomly, or cyclically. The goal will be to make such things changeable through hooks and plug-ins. Regardless, that is independent of being able to group advertisements together as described here.
Comment #5
jeremy commentedHooks are now available in adserve.inc and adcache.inc to make this possible with little difficulty. Postponing until I have time/interest, or someone submits a patch.
Comment #6
jeremy commentedMoving this to the 6.x-2.x development branch, as it's still something that may happen some day.
Comment #7
lrwebks commentedDrupal 6 is EOL and no longer supported. Closing this as outdated for that reason. Thanks for your contribution!