[imp] expanding menu by default
Chris
bsd at 1command.com
Sat Mar 4 09:28:15 PST 2006
Quoting Earnie Boyd <earnie at users.sourceforge.net>:
> 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);
>>
Excellent discovery. Thanks for taking the time to share it.
>>
>
> FWIW, I prefer them expanded as well. This should become customizable
> via config/prefs.php. Maybe in $_prefs['initial_page']?
FWIW, I *also* (enter a "me too") like it that way.
--Chris
>
>
> Earnie Boyd
>
> http://shop.siebunlimited.com
>
> --
> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>
--
Microsoft:
Disc space -- the final frontier!
----------------------------------------------------------------
FreeBSD 5.5-PRERELEASE (SMP) MAIL04 Fri Feb 24 16:59:38 PST 2006
////////////////////////////////////////////////////////////////
More information about the imp
mailing list