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

Forums / Developing with Sitefinity / Show formatting options by default in BlogPost comment

Show formatting options by default in BlogPost comment

3 posts, 1 answered
  1. Gawein
    Gawein avatar
    12 posts
    Registered:
    13 Oct 2009
    30 Mar 2010
    Link to this post
    Hello,

    I want to show the formatting options in de BlogPost comment area by default, and not by the formatting options text link.

    Any ideas?

    Thanks,
    Gawein
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    30 Mar 2010
    Link to this post
    Hello Gawein,

    Map the external template ListPageDetail.ascx for the BlogPost control and modify the div that wraps the RadEditor control as shown below

    <div class="formattingOptions">
                    <%--   <a href="#" class="formattingOptionsToggleBtn" onclick='if($(this).parent().hasClass("formattingOptions")){$(this).parent().removeClass("formattingOptions");$(this).text("Formatting options");}else{$(this).parent().addClass("formattingOptions");$(this).text("Hide formatting options"); } return false;'>Formatting options</a>--%>
                        <telerik:RadEditor
                               runat="server"
                               ID="commentTxt"
                               ToolsFile="~/Sitefinity/ControlTemplates/Blogs/ToolsFile.xml"
                               EnableEmbeddedSkins="True"
                               Skin="Default"
                               Width="100%"
                               EditModes="Design">           
                        </telerik:RadEditor>  
                   </div>

    Useful links

    How to map a template
    Working with presentation modes

    All the best,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
    Answered
  3. Gawein
    Gawein avatar
    12 posts
    Registered:
    13 Oct 2009
    30 Mar 2010
    Link to this post
    Hello Ivan ,

    Exactly what I needed! Thanks.

    Regards,
    Gawein
Register for webinar
3 posts, 1 answered