Hello, I apologise if this Q is in the wrong place or inappropriate, I am researching OpenX before I install to use with my WordPress sites and realise it won't do what I want as I've limited technical ability!
I really hope this makes sense to someone
In a nutshell, I plan to use OpenX 'original' NOT the wordpress plugin across a number of sites that are run on wordpress.
I want to create an 'intelligent' (?) widget for my sidebar that does the following...
Background:
- all site categories predefined - e.g. cat, dog, mouse
- all site tags predefined - e.g. food, grooming
- unique zones set up in OpenX for individual categories and tags as above e.g. mouse zone, grooming zone
- my sidebars, and therefore widgets, are implemented site-wide...
Widget 'code' for Ad choice: [by page i mean index page or individual post page]
- if page reached via tag route, display ad from the zone for the tag
- if page reached via category route, display ad from the zone for the category
- if page reached via other route [e.g. direct from homepage], display ad from the zone for the post category
- else display 'home' zone ad
- so based on navigation route, tag advert takes precedence, category advert next, 'home' advert last
[for this logic to work I believe I will need to enforce a business rule that a post can only belong to one category and one tag]
So, example...
I write a piece on grooming your cat which I assign category = cat and tag = grooming
Someone clicks from my homepage onto that post, they see the advert for the cat category
Someone clicks on the cat category index from my navigation, they see the advert for the cat category
Someone clicks on that post from the cat category index, they see the advert for the cat category
Someone clicks on my tag cloud and sees the 'index' for grooming, they see the advert for the grooming tag
Someone clicks on that post from the grooming tag 'index', they see the advert for the grooming tag
Essentially, I feel I can "write" the logic in english, and conceptually I reckon it should be achievable...
I *might* be able to code it with a helpful pointer or several but would be interested if anyone knows of this pre-existing or ideally wants to help me with more than a pointer!!!
Sorry I am a bit verbose... Anyone still awake???
Thank you SO much in advance...
Jill x