Is it possible when we open http://example.com/file_browser page to see expanded file browser? I mean all folders and their children and content will be expanded by default.

Comments

nargiza’s picture

Category: feature » support

I found out a way to do it. You just have to type http://example.com/file_browser/4, where 4 is ID of vocabulary you want to see expanded. But after that block File information that shows preview of selected file doesn't work anymore...

nargiza’s picture

Version: 6.x-1.0-alpha5 » 6.x-1.x-dev
nargiza’s picture

Title: Expanded file browser » File preview block doesn't work when file browser is expanded
Status: Active » Closed (fixed)

This is solution that we found

edit sites/all/modules/fileframework/contrib/browser/file_browser.js

instead of
if (folderId.match(/-g([\d]+)/)) {
put
if ((folderId.match(/-g([\d]+)/))&&(id.match(/-g([\d]+)/))) {