[ADDON] Ultimate Menu February 27, 2015, 12:12:09 am Ultimate Menu 1.0 Add custom buttons to the main menu within ElkArteIntroduction:This allows custom buttons to be added to the main menu within ElkArte at will, complete with children and grandchildren menus (so, a main menu item, a dropdown and a follow-on dropdown)Setup this mod at Administration Center » Configuration » Ultimate Menu.Should "just work" with all other mods that add their own buttons, such as portals.Dynamic by design -- any menu button can change its text without a problem -- no special code required.Known issues:Grandchild buttons cannot be added using 'before' or 'after'; not sure how to fix thishttp://addons.ElkArte.net/enhancement/Ultimate-Menu.html
Re: [ADDON] Ultimate Menu Reply #1 – February 27, 2015, 04:09:34 am I suck at PHP so this will come in handy, thanks I was hoping this would allow us to edit the current menu also but it's good enough.
Re: [ADDON] Ultimate Menu Reply #3 – February 27, 2015, 04:43:24 am Awesome addon! I'm sure this will be helpful to a lot of people wanting to just add a few links to their menus without diving into their theme code. Is it possible to also remove the built-in options with this addon?
Re: [ADDON] Ultimate Menu Reply #4 – February 27, 2015, 11:02:00 am Quote Is it possible to also remove the built-in options with this addon?No.
Re: [ADDON] Ultimate Menu Reply #8 – March 06, 2015, 06:00:04 am Tried to install it and get these error message:QuoteParse error: syntax error, unexpected '[' in /www/htdocs/w00f21f1/hp_elkarte/packages/temp/install.php on line 87Line 87 is this:Code: [Select]foreach ($tables as $table) $dbtbl->db_create_table('{db_prefix}' . $table['name'], $table['columns'], $table['indexes'], [], 'update');
Re: [ADDON] Ultimate Menu Reply #9 – March 06, 2015, 08:54:35 am Thats php 5.4 shorthand syntax, change theCode: [Select] , [], toCode: [Select] , array(),
Re: [ADDON] Ultimate Menu Reply #10 – March 06, 2015, 08:56:41 am Problem is that the same construct is used in the code as well, so it would not work unless all the instances are replaced or you @Jorin update to php 5.4.
Re: [ADDON] Ultimate Menu Reply #11 – March 06, 2015, 08:58:59 am Ah good to know, had not looked at the code ... if thats the only 5.4 stuff easy to change though.
Re: [ADDON] Ultimate Menu Reply #12 – March 06, 2015, 10:03:37 am Quote from: emanuele – March 06, 2015, 08:56:41 am...or you @Jorin update to php 5.4.Hm, server is running PHP 5.3. It seems I can "update" via PHP-CGI but I think I remember from my SMF support board that PHI-CGI should only be used with caution. Maybe @live627 can modify the addon?
Re: [ADDON] Ultimate Menu Reply #14 – March 07, 2015, 08:26:43 pm Quote from: Spuds – March 06, 2015, 08:58:59 am if thats the only 5.4 stuff easy to change though.Yep.