Try Now
More in this section

Forums / Developing with Sitefinity / how to Change Defaut root folder to new one in sitefinity file Manager ?

how to Change Defaut root folder to new one in sitefinity file Manager ?

2 posts, 0 answered
  1. humayoo
    humayoo avatar
    89 posts
    25 Oct 2010
    05 Jun 2011
    Link to this post
    in sitefinity 3.7 default root folder is project folder. when you browse file Manager, it shows all files from my project folder. i want to  change the default root folder to some new folder like "myproject/publicFile".
     second things i want to restrict root folder navigation, for example when user browse files tab, files shows "myproject/publicFile" ,from this status i do not want user navigate to "myproject" folder.

    please help me, how to solve this problem and provide me some examples and details ? please see the picture for clarity.

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    19 Oct 2016
    09 Jun 2011
    Link to this post
    Hello humayoo,

    This is a separate control - ManageFiles. To hide the buttons you need to override it or create a custom selector instead of using UrlWebEditor. In UrlWebEditor there is a reference to ManageFiles. ManageFiles uses Telerik.FileManager.WebControls.Toobar which is initialized inside OnLoad of ManageFiles and this is the place where you can access it using a recursion, because the toolbar container is private.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    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
2 posts, 0 answered