Removing "Navigation" and "Scripts and Styles

Posted by Community Admin on 04-Aug-2018 16:20

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

All Replies

Posted by Community Admin on 06-Jun-2013 00:00

Hi, 

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.

Posted by Community Admin on 11-Jun-2013 00:00

Hi Adam,

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

<add name="NavigationControlsSection">
                    <tools>
                        <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" />
                    </tools>
</add>

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

Hope this helps!

Regards,
Jen Peleva
Telerik
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

Posted by Community Admin on 11-Jun-2013 00:00

That worked, thank you!

Posted by Community Admin on 12-Jun-2013 00:00

Could also just go into the backend setting toolbox and uncheck enabled...that way you can turn them back on as needed quickly?

This thread is closed