Jump to content

IP.Tracker: Add public function like renderEntry


TSP

Recommended Posts

Hi, in the forums-sourcefiles there's defined a function renderEntry that takes in an databaserow of an topic and then returns a new/updated array that also include additional information on whether it's read etc.

I was hoping to find a similar method in the Tracker-source code that I could use, but I can't find anything like it. It looks like everything related to the Tracker-parsing is placed inside the doExecute-method in ../tracker/modules_public/projects/issues.php

Could you make this into it's own method that could be used by other files in IPB?

Link to comment
Share on other sites

Issue parsing is overhauled in 2.1, a lot has changed and it's all split into separate functions, it's too late in the game to move blocks about so you can tell if it's read or not.. but you should have access to more data than before.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...