ASPX templates
Version 4.x > ASPX templates > Forums - Was this post helpful? View modes: 
User avatar
Member
Member
Mike - 2/16/2011 3:54:08 PM
   
Forums - Was this post helpful?
How can one remove the "Was this post helpful?" prompt from the thread?

User avatar
Kentico Support
Kentico Support
kentico_radekm - 2/17/2011 3:58:47 PM
   
RE:Forums - Was this post helpful?
Hello.

You can delete it from \CMSModules\Forums\Controls\Layouts\Tree\Threads.ascx
or \CMSModules\Forums\Controls\Layouts\Flat\Thread.ascx file, according to what mode (tree vs. flat) you are using.

E.g. on \CMSModules\Forums\Controls\Layouts\Flat\Thread.ascx it is defined like this:


<%# IFCompare(IsAvailable(Container.DataItem, ForumActionType.IsAnswer), "<div style=\"float: right;\">" + ResHelper.GetString("Forums_WebInterface_ForumPost.Washelpful"), "")%>


Best Regards,
Radek Macalik

User avatar
Member
Member
Mike - 2/17/2011 5:17:46 PM
   
RE:Forums - Was this post helpful?
Thank you! Just what I was looking for.