remove "latest files" from Drupal module FileDepot -


how can prevent drupal module "filedepot" displaying "latest files" when user first enters file depot?

is possible have display nothing until user clicks on folder?

in sites/all/modules/filedepot/lib-ajaxserver.php added 1=2 and sql may check original one. worked me

// default view - latest files if (!empty($filedepot->allowableviewfolderssql)) {   if ($filedepot->ogmode_enabled) {     if (!empty($filedepot->allowablegroupviewfolderssql)) {       $sql .= "where 1=2 , file.cid in ({$filedepot->allowablegroupviewfolderssql}) ";     }     else {       $sql .= "where 1=2 , file.cid in ({$filedepot->allowableviewfolderssql}) ";     }   }   elseif (!user_access('administer filedepot', $user)) {     if (empty($filedepot->allowableviewfolderssql)) {       $sql .= "where 1=2 , file.cid null ";     }     else {       $sql .= "where 1=2 , file.cid in ({$filedepot->allowableviewfolderssql}) ";     }   } } 

Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -