Jump to content

where to change functionality of languages at front office


venkatesh

Recommended Posts

yes i am customizing existing template.I wrote code like this to display in dropdown.

 

<ul id="first-languages">{l s='Languages' mod='blocklanguages'}

<select onchange="getLanguageLink(this)">

{foreach from=$languages key=k item=language name="languages"}

<option value="{$language.id_lang}" {if $language.iso_code == $lang_iso}class="selected_language"{/if}>{$language.name}

 

</option>

{/foreach}

</select>

</ul>

Link to comment
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...