grav-plugin-langswitcher icon indicating copy to clipboard operation
grav-plugin-langswitcher copied to clipboard

Select menu as a configurable display option

Open sushidave opened this issue 2 years ago • 0 comments

Thank you for this useful plugin.

I am not very Grav savvy but managed to modify the code to get a <select> menu instead of an <ul> 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:

grav-langswitcher-logic-html-twig

grav-langswitcher-html-twig

However, I don't know how to add the option to the UI, therefore this feature request.

sushidave avatar Dec 27 '22 14:12 sushidave