Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select menu as a configurable display option #74

Open
sushidave opened this issue Dec 27, 2022 · 0 comments
Open

Select menu as a configurable display option #74

sushidave opened this issue Dec 27, 2022 · 0 comments

Comments

@sushidave
Copy link

sushidave commented Dec 27, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant