6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
8/13/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#7630] Implementation of Extended menu doesn't work
*
Your Email Address
*
Spam protection
Enter the letters below:
\ /.__ .__ __.. >< [__)[__)(__ | / \| | .__)|___
Comment
> Hello, > > > > I wanted to add a link "Accueil" to the menu of Mimp by using > config/menu.php but unsuccessfull. > > So, here is what I modified so that it could works. > > > > mimp/config/menu.php > > > > This pattern is not correct $_menu[] = array( 'url' => > 'http://www.example.com/', 'text' => 'Example, Inc.'); > > The good pattern is : > > $_menu = array( 'your url' => 'your text'); > > > > for example in my case : $_menu = array( '/dimp' => 'Accueil'); > > > > mimp/index.php > > > > I added : > > if (is_readable(MIMP_BASE . '/config/menu.php')) { > > require MIMP_BASE . '/config/menu.php'; > > } > > > > mimp/mailbox.php > > > > Before the "foreach of $items" I added : > > > > foreach ($_menu as $link => $label) { > > $mset->add(new Horde_Mobile_link($label, $link)); > > } > > > > After having these modifications my link "Accueil" is added at the > top of the menu. I hope my humble contribution will be usefull. > > > > Best regards > > > > Gerard
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers