A simple dropdown navigation menu for your board; the links are edited by hand in the template.
- Dropdown menu above the board's navbar, with nested sub-menus.
- Entries can be shown to one group only with
{% if S_GROUP_<id> %}. Those switches come from the Group Switches extension (phpbbmodders/groupswitches); without it, group-only entries stay hidden. The shipped template uses group 528 as its example. - Collapses behind a Menu button on small screens.
- No ACP settings: edit the links in
styles/all/template/event/overall_header_navbar_before.html, then purge the board cache.
- phpBB 3.3.19 or later
- PHP 7.4 or later
- Copy the extension to
/ext/phpbbmodders/menu - In the Administration Control Panel, go to Customise → Manage extensions
- Enable the phpBB Modders Menu extension
- Edit the links in
styles/all/template/event/overall_header_navbar_before.htmland purge the board cache
Examples for adding links, dropdowns, and entries for logged-in users or single groups are in the wiki: Editing the menu and Group Switches.
This extension was previously published as modders/menu. To switch:
- Disable the old "modders_menu" extension in the ACP (do not delete its data; it has none).
- Delete the
phpBB/ext/modders/menufolder. - Upload this version to
phpBB/ext/phpbbmodders/menuand enable it. The old extension's leftover record is removed automatically. - Purge the board cache (ACP > General > Purge the cache).
If you disable the old extension from the command line (bin/phpbbcli.php) instead of the ACP, run bin/phpbbcli.php cache:purge before enabling the new one; the command-line disable doesn't clear the cache.
Contributions are welcome!
- Bug reports: Open an issue.
- Everything else (questions, feature requests, ideas, general discussion): Use Discussions, or the community forum.
- Pull requests are welcome for bug fixes or discussed features.
- Kailey Snay and bonelifer.
- Menu design and mobile fixes by Daniel James (danieltj27) in #1, #2 and #4.
- Code review, bug fixes, and documentation assisted by Claude.
This extension is licensed under the GNU General Public License v2.0.
See license.txt for more information.