+1-888-365-2779
Try Now
More in this section

Forums / Sitefinity SDK / CommentBox RadEditor

CommentBox RadEditor

5 posts, 0 answered
  1. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    03 Feb 2011
    Link to this post
    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.
  2. Katia
    Katia avatar
    194 posts
    Registered:
    01 Jul 2016
    08 Feb 2011
    Link to this post
    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.
  3. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    08 Feb 2011
    Link to this post
    This is what I mean

    Thank you for the code, I think I will use this as it contains a CAPTCHA! :D
  4. Matthias
    Matthias avatar
    10 posts
    Registered:
    30 Jul 2009
    10 Feb 2012
    Link to this post
    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
  5. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    14 Feb 2012
    Link to this post
    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 >>

5 posts, 0 answered