Jump to content

How do I change the language selector to drop down?


Recommended Posts

How do I change the language selector to a drop down menu? I brought a Prestashop template from Template Monster #42155 and I want the language selector to be a drop down menu exactly like the currency selector in the front end of site. The template supports 3 languages but I have more than 3 languages active in the back office therefore language abbreviations are pushing to left and overlapping the currency selector in FO so it looks very messy. Which files do I change and how? Thanks.

 

 

 

 

post-152632-0-84528200-1357062578_thumb.png

Share this post


Link to post
Share on other sites

Hi,

You'd need to edit the blocklanguages.tpl file (in the module's folder, or the template folder if it's overridden there).

Locate the foreach loop with the languages ISOs, and change the whole thing to a <select>, using <option>s inside the loop of course ;)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More