More in this section

Forums / Developing with Sitefinity / Replace ItemSelector

Replace ItemSelector

2 posts, 0 answered
  1. EuclidLibrary
    EuclidLibrary avatar
    18 posts
    28 Aug 2008
    12 May 2009
    Link to this post
    How would I go about replacing/overriding the ItemSelector WebEditor in Sitefinity 3.6 SP1?  I would like to remove the ablity of the user to select from the file system as also end user images should be in a library.
  2. Sonya
    Sonya avatar
    231 posts
    24 Sep 2012
    14 May 2009
    Link to this post
    Hello EuclidLibrary,

    In order to customize the item selector, you need to change the following template:

    For example, if you do not wish to have the Files tab in the second dialog (the one that appears after clicking on the "Select from already uploaded images" link), you need to remove the following line of code in the template (highlighted):
    <telerik:RadTabStrip ID="tabStripItems" runat="server" MultiPageID="multiPageImages" EnableEmbeddedSkins="false" Skin="SitefinityDialogs"
            <telerik:RadTab Value="pagesTab1" PageViewID="pagesTab" runat="server" Text="Pages"></telerik:RadTab> 
            <telerik:RadTab Value="librariesTab" PageViewID="pageViewLibraries" runat="server" Text="<%$Resources:Libraries %>"></telerik:RadTab> 
            <telerik:RadTab Value="filesTab" PageViewID="pageViewFiles" runat="server" Text="<%$Resources:Files %>"></telerik:RadTab> 

    In this way, the user will only be working with the libraries from the Images and Documents module.

    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
2 posts, 0 answered