Renaming "home" to something different and removing "favorites

Added by Flemming Jacobsen 10 months ago

Hey,

Is there some easy way to edit the name of the root folder so that it does not say "home" anymore but rather something I would like it to say instead?. And is it possible to remove that link to favorites that is above the "home" folder?


Replies (9)

RE: Renaming "home" to something different and removing "favorites - Added by Pere A 10 months ago

http://elrte.org/redmine/projects/elfinder/wiki/Client_Configuration_EN#Options

places

Folder name for "favorites". Can be localized. By default - Places. You can set this to empty string "" to disable "favorites"

RE: Renaming "home" to something different and removing "favorites - Added by Flemming Jacobsen 9 months ago

Nvm found out how to rename home, or at least I think i did. Well apperently editing connector for PHP is the trick, but it wont accept 's, if I add them it complains about incorrect Backend configuration >_<

But still hasnt found the way to get rid of places :(.

And is there also a way to actually specify which folder I want ElFinder to actually show rather then tossing all the stuff in a subfolder under ElFinder?. Because that solution seems a bit cluttered to me at least.

RE: Renaming "home" to something different and removing "favorites - Added by Troex Nevelin 9 months ago

Show us your connector initialization code with options when you get invalid backend response? What FireBug shows in response?

RE: Renaming "home" to something different and removing "favorites - Added by Flemming Jacobsen 9 months ago

When it errors with Invalid backend response it is because I have ' in the "home" name. When I remove the ' it works fine >_<

RE: Renaming "home" to something different and removing "favorites - Added by Troex Nevelin 9 months ago

Than you should use something like 'troex\'s home'

RE: Renaming "home" to something different and removing "favorites - Added by Flemming Jacobsen 9 months ago

Thank you so much :). Would you happen to know where I should edit in order to remove favorites/places ?

RE: Renaming "home" to something different and removing "favorites - Added by Troex Nevelin 9 months ago

Again see the client options in Client_Configuration_EN:

places - Folder name for "favorites". Can be localized. By default - Places. You can set this to empty string "" to disable "favorites"

RE: Renaming "home" to something different and removing "favorites - Added by Flemming Jacobsen 9 months ago

I read that, but it doesn't tell me "WHERE" to do it :(. Because I can't find that setting in the connector.php file :(

RE: Renaming "home" to something different and removing "favorites - Added by Troex Nevelin 9 months ago

Client configuration is JavaScript code that originally put in elfinder.php.html:

var f = $('#finder').elfinder({
    // client options goes below
    url : 'connectors/php/connector.php',
    lang : 'en',
    docked : true
});

(1-9/9)