CommentBox RadEditor - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

CommentBox RadEditor

  • CommentBox RadEditor
  • 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.
  • 248294_ExternalTmpl.zip
    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.
  • This is what I mean

    Thank you for the code, I think I will use this as it contains a CAPTCHA! :D
  • 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
  • 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 >>