Hi All,
I've created a custom application and added some pages with widgets, I'm trying to use telligent default widget comment list, but it's not working with my pages, Can anyone help me out in this?
Hi All,
I've created a custom application and added some pages with widgets, I'm trying to use telligent default widget comment list, but it's not working with my pages, Can anyone help me out in this?
Does your class that implements IContentType also implement ICommentableContentType Plugin Type ? That needs to be implemented for comments to work with your custom content type.
Hi , I Implemented all the above mentioned interfaces but still comment list widget is not working with my application, is there any other interfaces needs to be implemented to make it work?
Does $core_v2_content.Current return valid content when viewing the page you expect the comments to be on?
Does CanCreateComment return true for the contentId and accessing user?
If so, please provide more details on your setup, code, and what you are seeing. What does the page look like? Are there javascript errors? exceptions in the log? etc.
Thanks for your reply , Currently I'm able to add comment, it's getting saved, comments count is getting updated, but it's not listing, kindly refer the below image, no javascript errors or exceptions were logged. $core_v2_comment.List() contains my comments. but it's not listed in the comment list widget. Am I missed anything here?
Thanks for your reply , Currently I'm able to add comment, it's getting saved, comments count is getting updated, but it's not listing, kindly refer the below image, no javascript errors or exceptions were logged. $core_v2_comment.List() contains my comments. but it's not listed in the comment list widget. Am I missed anything here?
Does $core_v2_comments.ListThreaded() return results with proper parameters provided?
No , it's returning empty result set with some permission error, but I Implemented IPermissionRegistrar, enabled the
permissions in Manage Group--> Permissions.
Have you implemented ISecuredCommentViewContentType for your ApplicationType? If so, what are you returning for GetSecurableId?
Thanks a ton , Finally I got it .It's working now. I suppose return content.Application.ApplicationId for GetSecurableId.
Correct, return the ApplicationId as the item to secure against.