Tuesday 14 September 2010 5:45:12 am
Hi. I need to present the latest comments which have been added to the system. I would not like to sort results based on contentobjectids and this should all be possible by using ezcomFunctionCollection::fetchCommentListByContentObjectIDList(null,null,null,null,null,null,0,100,array()); When I do this however i only get an empty result back. it also produces an sql query error. Is anyone able to reproduce this? I am running ezcomments v 1.1 (the function was not available in preveious releases.) Update 1: I managed to get the fetch function to work, but only when used as a template fetch on my 4.4beta3 installation of eZPublish. I now made the extension work for ezPublish 4.2 as well:) Any one who can help me out with an example of calling the fetchCommentListByContentObjectIDList which fetches all comments regardless of user or contentobjectid? Update 2: I tried to use the fetchLatestComments instead as a funciton in php and this seems to work as i was hoping:)
|