I need to find out if anyone has the solution to a problem I just ran into. I am currently using SOBI2 (directory component) in my Versitility 2 Rockstar template. I want to be able to serve ads specific to the content SOBI2 displays. ie. If a user clicks on the "Automotive" directory link I want to be able to display a specifically targeted ad for that "portal". Since the content is contained within the component, I dont know how I can do this.
I'm perfectly fine with programming the ads to display on the specific URL SOBI2 generates. However, I'm not sure how to go about this.
Not having dealt with SOBI2 but, you know you can assign blocks to certain pages only. Create a block for that page and insert the ads you want. Of course that page would have to be a menu item, but create a sobi menu and just dont publish it so you can place the block in whichever link.
Sometimes if you don't publish the menu item users get the 'your not authorised to view this..' error. To bypass this create a new menu under the menu manager and create you sobi menu items on the new menu (call it 'invisible' or something) and then don't publish the menu's module anywhere.
Or you could try the Banners Manager component it has a plugin for SOBI2 that allows banners just on individual categories, it also has a content plugin that restricts banners to a single content item: