Jump to:

23007 Posts in 11866 Topics by 2828 members

General Questions

SilverStripe Forums » General Questions » OpenX

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1229 Views
  • waverider
    Avatar
    Community Member
    3 Posts

    OpenX Link to this post

    Hello,
    Has anyone successfully integrated OpenX into silverstripe? if so is there a Howto anywhere?
    Thanks

  • UncleCheese
    Avatar
    4085 Posts

    Re: OpenX Link to this post

    There's really nothing to it. You just give an OpenXZoneID field to any object that you want to have an ad, and then give that object a custom method like:

    function Ad()
    {
    // use OpenX API to get ad wtih $this->OpenXZoneID
    }

    And then on your template, $Ad.

    Then of course, you use the CMS to populate the object with its corresponding OpenX ZoneID, which is really easy to find in OpenX.

  • waverider
    Avatar
    Community Member
    3 Posts

    Re: OpenX Link to this post

    Thanks for the quick reply - I'll give it a try

  • Breastfed
    Avatar
    Community Member
    44 Posts

    Re: OpenX Link to this post

    Hello do you get it going?

    I am have a problem too.
    In the Dev Status i receive an Error which belongs to openX.

    Now i looked for the API Code, but i didn't find anything, maybe you can help me out.

    Thanks.

  • UncleCheese
    Avatar
    4085 Posts

    Re: OpenX Link to this post

    I think you guys really need to refer your questions to the OpenX forums. Silverstripe's only role in this task is to return the OpenX ZoneID of the ad that is associated with the specific page or dataobject. Once you have that, you should be able to throw it at OpenX and get what you need.

    1229 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.