More in this section

Forums / Developing with Sitefinity / "Formatting Options" button won't go away

"Formatting Options" button won't go away

2 posts, 0 answered
  1. Troy Lawrence
    Troy Lawrence avatar
    56 posts
    07 Jan 2010
    06 May 2010
    Link to this post
    There is a text link on my blog comments page that reads "formatting options".  You can select it but it doesn't seem to do anything.  It just changes from "formatting options" to "hide formatting options".   Nothing changes.   I tried to remove it, but it messed up the css layout of the page.   I've attached a screen shot as well.

    The file is here:


    The code is:

    <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>

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    07 May 2010
    Link to this post
    Hello Troy Lawrence,

    This script should be located under \Sitefinity\ControlTemplates\Blogs\CommentsList.ascx. The template is used by BlogCommentsList control declared in ControlTemplates\Frontend\Modes\ListPageMaster.ascx.

    I suggest that you should use ListPageMaster.ascx external template instead of CommentsViewSingleItem.ascx.

    By default the script hides/shows the RadEditor toolbar. You could take a look at the attached video.

    You could also check whether there are any js errors thrown on the page that could break the toolbar behavior, but using ListPageMaster template should fix the problem.

    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.
2 posts, 0 answered