Summary | Tree indent sometimes incorrect for children |
Queue | Gollem |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | |
Requester | mike (at) pelley (dot) com |
Created | 06/29/2005 (7310 days ago) |
Due | |
Updated | 06/30/2005 (7309 days ago) |
Assigned | |
Resolved | 06/30/2005 (7309 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
sidebar fails with "Fatal error: Call to undefined function: getnode()
in ..../sidebar.php on line 268".
I notice that Tree.php does not have a getnode function which might be
the cause for the error (if I'm understanding things right).
State ⇒ Resolved
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Tree indent sometimes incorrect for children
Queue ⇒ Gollem
Manager" is placed underneath and one indent level to the right of "My
Account". Any backends that are defined are placed below "File
Manager" again one indent level to the right.
I decided, for my server, to move "File Manager" to the top level by
removing the "menu_parent" line in the gollem section of registry.php.
"File Manager" showed up at the top level correctly, but the backend
entries were still indented two, where they should now only be
indented one.
I looked into it a bit and it appears that the wrong value is being
passed for $indent into the buildTree function in
services/portal/sidebar.php (1 instead of 0). I'm not sure if this is
correct though and I'm not sure how to go about fixing it generically.
I have implemented a simple hack that fixes my site for now.