CommentBox RadEditor

Posted by Community Admin on 05-Aug-2018 07:28

CommentBox RadEditor

All Replies

Posted by Community Admin on 03-Feb-2011 00:00

Two things :)

1) How do I change the comment box radeditor to use the div based content area option...
2) You should hide the toolbars with a display:none...the toolbar icons "blink" because when the page loads they're visible, then I assume you add in the formatting options link and hide them...if they were hidden initally the we wouldn't get the pop.

Posted by Community Admin on 08-Feb-2011 00:00

Hello Steve,

I am not sure what you mean by "the div based content area option". However, you can change comments templates if you do the following:

  1. Download the zip file (ExternalTmpl.zip) and extra it to your project 
  2. Open the widget designer and go to "Single Item Settings" tab
  3. Choose the detail template and click edit
  4. Set LayoutTemplatePath for comments master and details views
         <sf:ContentView 
                 id="commentsListView" 
                 ControlDefinitionName="NewsCommentsFrontend"
                 MasterViewName="CommentsMasterView" 
                 ContentViewDisplayMode="Master"
    LayoutTemplatePath="~/ExternalTmpl/Comments/CommentsMasterView.ascx"
                 runat="server" />
             <sf:ContentView 
                 id="commentsDetailsView" 
                 ControlDefinitionName="NewsCommentsFrontend" 
                 DetailViewName="CommentsDetailsView"
                 ContentViewDisplayMode="Detail"
    LayoutTemplatePath="~/ExternalTmpl/Comments/CommentsDetailsView.ascx"
                 runat="server" />
  5. After that you can change CommentsDetailsView.ascx template

As for the second thing, it is logged as bug 107070 and will be fixed in of the next internal releases.

Best wishes,
Katia
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.

Posted by Community Admin on 08-Feb-2011 00:00

This is what I mean

Thank you for the code, I think I will use this as it contains a CAPTCHA! :D

Posted by Community Admin on 10-Feb-2012 00:00

Hi Katia,
is it possible to use these templates for the comments section in Blog posts also? If they are different, could you provide me with the code, please.
Thanks
Matthias

Posted by Community Admin on 14-Feb-2012 00:00

Hello Matthias,

The templates can be used for all comments sections in Sitefinity. Please download the Sitefinity SDK to get the latest versions of the templates.

Greetings,
Radoslav Georgiev
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

This thread is closed