This is a direct port of my SMF mod to Elkarte.
This is a tool for configuring the main menu within Elkarte, allowing custom buttons to be added at will, complete with children and grandchildren menus (so, a main menu item, a dropdown and a follow-on dropdown)
- Grandchild buttons cannot be added using 'before' or 'after'; not sure how to fix this
- Complete rewrite using objects
- Follow PSR-2 and PSR-4
- Use generators (PHP 5.5+)
- Use closures (PHP 5.3+)
- Use late static bindings (PHP 5.3+)
- any suggestion that would come up in the topic