Try Now
More in this section

Forums / Developing with Sitefinity / Removing "Navigation" and "Scripts and Styles" from the toolbox

Removing "Navigation" and "Scripts and Styles" from the toolbox

4 posts, 0 answered
  1. Adam
    Adam avatar
    23 posts
    05 Apr 2013
    06 Jun 2013
    Link to this post

    Please tell me how to remove the "Navigation" and "Scripts and Styles" sections from the page edit toolbox. I was able to remove the other sections in ToolboxesConfig.config by doing this int the "PageControls" section:

            <remove name="Login"/>
            <remove name="Users"/>
            <remove name="Social"/>
            <remove name="Data"/>
            <!--these 2 don't work-->
             <remove name="Navigation"/>
            <remove name="Scripts and Styles"/> 

    But last 2 don't work. Thanks.
  2. Jen Peleva
    Jen Peleva avatar
    568 posts
    10 Sep 2016
    11 Jun 2013
    Link to this post
    Hi Adam,

    You need to remove this section from the ToolBoxes.config:

    <add name="NavigationControlsSection">
                            <add enabled="True" type="Telerik.Sitefinity.Multisite.Web.UI.SiteSelectorControl, Telerik.Sitefinity" title="SiteSelectorControlTitle" description="SiteSelectorControlDescription" resourceClassId="MultisiteResources" cssClass="sfSiteSelectorIcn" moduleName="Multisite" visibilityMode="None" name="SiteSelectorControlName" />

     and add these removes:
    <remove name="NavigationControlsSection"/>
    <remove name="ScriptsAndStylesControlsSection"/>

    Hope this helps!

    Jen Peleva
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Adam
    Adam avatar
    23 posts
    05 Apr 2013
    11 Jun 2013 in reply to Jen Peleva
    Link to this post
    That worked, thank you!
  4. Steve
    Steve avatar
    3037 posts
    03 Dec 2008
    12 Jun 2013 in reply to Adam
    Link to this post
    Could also just go into the backend setting toolbox and uncheck enabled...that way you can turn them back on as needed quickly?
4 posts, 0 answered