[imp] expanding menu by default

David Bain david.bain at alteroo.com
Sat Mar 4 09:50:51 PST 2006


I estimate that this should be a mornings work to create a custom
preference.
If there is enough demand, perhaps I will hack up a patch to create this. At
the moment however... I'm mostly coding in python so I'd need to know that
there is enough reason to do this.

On 3/4/06, Chris <bsd at 1command.com> wrote:
>
> 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
> ////////////////////////////////////////////////////////////////
>
> --
> 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
>


More information about the imp mailing list