[support] rotating views

Ronald Ashri ronald at istos.it
Mon Feb 9 15:54:08 UTC 2009


Hi Christopher - we handle lots of ads on our websites and Views would 
not be the way to go for the critical ads - you only have the random 
feature which is not something that provides any guarantees in fairness 
across the same day, etc.

I also don't know to which extend it is worth creating a view of banners 
and then rotating them - views is really best suited for results that 
can be cached to a certain extend - especially on sites that are visited 
often.

Given that code is needed the best at this point is probably a custom 
module that resolves your specific problem.

Just out of curiosity why do you want to stop using the Advertisement 
module?

Ronald


Christopher M. Jones wrote:
> Hmm. Yes, for starters. But since this is for ads, it's important to be
> able to guarantee the advertiser a certain number of views per page
> load. So I'm not sure random would fly. And now I'm thinking that I
> probably need some code in there to get certain ads displaying more
> often than others. So maybe I really do need to write this code.
>
> John Callahan wrote:
>    
>> Could you create a view that displays only one item and sorted randomly?
>>
>> - John
>>
>>
>> Christopher M. Jones wrote:
>>      
>>> I'm looking for a way to rotate views. I've seen "Views Rotator", but it
>>> doesn't look like it does exactly what I want. I need the view to rotate
>>> for each time a page is loaded, while views rotator rotates on the same
>>> page via jquery.
>>>
>>> What I'm after is a way to replace the advertisement module using views
>>> and click filter. A different ad should show each time the user loads a
>>> page. I'm thinking that I need to set a cookie to hold the incremented
>>> offset, and pull that value into the view whenever it is called. I can
>>> write this code, but I'd rather drop a module in and call it done.
>>> Anybody know of any thing that will do this for D5.x?
>>>
>>>        


More information about the support mailing list