1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.


Discussion in 'XenForo Development Discussions' started by Jeremy P, Dec 1, 2010.

  1. Jeremy P

    Jeremy P Well-Known Member

    Working on a NewsFeedHandler for a custom content type on a site. I have defined a publish method in the DataWriter, it is inserting the proper data into the news feed table, and the news_feed_handler is defined in xf_content_type_field.

    When viewing the Recent Activity feed in debug mode, it seems to be calling the custom NewsFeedHandler class correctly, and retrieving data from the database via getContentByIds, but no item is shown in the news feed. I have a template in the format of news_feed_item_$contentType_$action. What else would be required to get items appearing in the news feed?
  2. Jeremy P

    Jeremy P Well-Known Member

    Figured it out, it was being unset since no content was being returned because I didn't write the getContentByIds method properly, sorry.

Share This Page