getgrav / getgrav/grav-plugin-langswitcher
Select menu as a configurable display option
- Dominant language
- PHP
- Stars
- 31
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
Thank you for this useful plugin.
I am not very Grav savvy but managed to modify the code to get a `` menu instead of an `` list. It brought me to the idea to propose it to you as an configurable option.
These are the two files I copied from /user/plugins/langswitcher/templates/partials to /user/themes/[theme]/templates/partials and modified the code to look as follows:


However, I don't know how to add the option to the UI, therefore this feature request.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the two template partials under /user/plugins/langswitcher/templates/partials and the corresponding copies under /user/themes/[theme]/templates/partials. Trace how the plugin exposes configuration in its UI, then make the list/select choice configurable while preserving the existing rendering option. Done means users can choose the display style without manually copying or modifying theme templates.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100