Closed (outdated)
Project:
Advertisement
Version:
6.x-2.x-dev
Component:
ad module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jan 2010 at 13:16 UTC
Updated:
19 Sep 2024 at 11:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
aidanlis commentedI'm moving this into the bug report category in the hope of getting a response after 20 days.
Using the channels module, I can categorize the ads into a pattern. One channel per company, one channel per region. See the screenshots attached to see what I mean.
Now, I guess what I need to do is create a custom module that does something along the lines of: add a button to the ad per-block configuration saying "display ads in the same channel as [region], where the channel belongs to [category]"
This would allow me to create three blocks, for example. The first block in region1 would be "region: null, category: null". The second block would be "region: region1, category: companies". Etc.
This works from a UI perspective (i think).
From an implementation perspective, once the first block is displayed the submodule could modify the probability of the other ads in that required channel.
Is this the best solution forward? I'm happy to do the coding, a few pointers in the right direction would be good.
Comment #2
aidanlis commentedThe previous idea had some problems, and added complexity.
If I create a group for each region that I want to display ads in, and a channel for each company, then the question becomes "How do I display ads in the same channel on each page view".
Comment #3
aidanlis commentedI've modified the ad module to do this. I realise it's a nasty hack, and it's incompatible with the way the rest of the modules work, but it does solve my problem for the time being.
This bypasses all the caching, which means it can't be used on a heavily loaded server either.
I'd love the authors ideas on how to do this properly ...
Comment #4
anonymous07 commentedI see you are having a conversation with yourself here ... I thought I would subscribe so you can feel like someone is listening ... lol
Seriously though, I am interested in this also (though, admittedly, not as much as getting the channels to work right).
Cheers
Comment #5
nilofar123 commentedhi,
i want to know that how i place only one ad on only one page,
because on my website i am facing problem with advertisement when i refresh page the advertisement changes
i don't want to change ad when i refresh the page .
i want that ad becomes constant on page whatever page refresh or not
Comment #6
lrwebks commentedDrupal 6 is EOL and no longer supported. Closing this as outdated for that reason. Thanks for your contribution!