[imp] expanding menu by default
    Earnie Boyd 
    earnie at users.sourceforge.net
       
    Sat Mar  4 07:29:25 PST 2006
    
    
  
Quoting David Bain <david.bain at alteroo.com>:
> Okay.... I figured it out.
>
> find 'horde3/imp/lib/Block/tree_folders.php' and look for the $tree->addNode
> entry that affects the menu that you want to change.
>
> In my case I was using debian sarge and the file is located under
> /usr/share/horde3/imp/lib/Block/tree_folders.php
>
> In line 159 - 161: the expand option defaults to false change it to
> true(see example below):
>
> $tree->addNode($parent, $registry->get('menu_parent', $parent),
>                 sprintf('<b>%s</b> (%s)', $registry->get('name',
> $parent), $unseen),
>               $indent - 1, true, $node_params);
>
>
FWIW, I prefer them expanded as well.  This should become customizable 
via config/prefs.php.  Maybe in $_prefs['initial_page']?
Earnie Boyd
http://shop.siebunlimited.com
    
    
More information about the imp
mailing list