[horde] Patched to horde 3.0.4 no sidebar.php

Damien McKenna damien at mc-kenna.com
Mon Jun 20 12:59:27 PDT 2005


Damien McKenna wrote:

 > which says that it stops right after:
 >
 >   $block->buildTree($tree,
 >      isset($params['menu_parent']) ? 1 : 0,
 >      isset($params['menu_parent']) ? $params['menu_parent'] : null);
 >
 > What would help work out what is going on with this - a print_r of 
the $menu variable, a copy of my conf.php file?

I figured I'd help a bit more and get a dump of $tree:

horde_tree_javascript Object
(
     [_instance] => horde_menu
     [_header] => Array
         (
         )
     [_nodes] => Array
         (
             [horde] => Array
                 (
                     [label] => Horde
                     [indent] => 0
                     [expanded] =>
                     [url] => /horde/login.php
                     [icon] => /horde/themes/graphics/horde.png
                     [icondir] =>
                 )
             [imp] => Array
                 (
                     [label] => Mail
                     [indent] => 0
                     [expanded] =>
                     [url] => /horde/imp/
                     [icon] => /horde/imp/themes/graphics/imp.png
                     [icondir] =>
                 )
         )
     [_root_nodes] => Array
         (
             [0] => horde
             [1] => imp
         )
     [_extra_cols_left] => 0
     [_extra_cols_right] => 0
     [_options] => Array
         (
             [lines] => 1
             [target] => horde_main
         )
     [_usesession] => 1
     [_static] =>
     [_source_name] =>
     [_options_name] =>
     [_target_name] =>
)

and $params['menu_parent'] is 'imp'.

Hope that helps some.

Damien



More information about the horde mailing list