I know I can customize menu via "$g_main_menu_custom_options", I added this line in my config_inc.php:
$g_main_menu_custom_options = array( array( "My_Link", MANAGER, 'my_link.php' ), array( "My_Link2", ADMINISTRATOR, 'my_link2.php' ) );
but it's not working; is there something else I must check in order to get it working?
mantis version 1.1.2
---
$g_main_menu_custom_options
Moderators: Developer, Contributor
SOLVED: $g_main_menu_custom_options
I finally understood what the problem was. I installed a couple of plugins so the line I used in my config_inc.php was correct but was ignored because there was a configuration injected directly in DB by the plugin, I checked in MANAGE - MANAGE CONFIGURATION - CONFIGURATION REPORT and there I found the "main_menu_custom_options" entry. Maybe it should be better to have just one way to set options
---

---
Re: SOLVED: $g_main_menu_custom_options
Is it possible to set this option from the GUI, I mean... how can I set nested arrays there, what is the right syntax?
Re: $g_main_menu_custom_options
For me the same Problem, what did you do, do solve this Problem? I can't add a custom Link to the Menu.
Please help me.
Thanks
Please help me.
Thanks
Re: $g_main_menu_custom_options
I removed that config option from "MANAGE - MANAGE CONFIGURATION - CONFIGURATION REPORT" and then my line in config_inc.php started to work.