You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

  1. Place the following code in "Sub Header" in DX Progressive Theme.
<div id="languages">
    <li><a href="?_lang=en_US" class="btn waves-effect btn waves-button waves-float"><img title="English" src="#appResource.US-United-States-Flag-icon.png#"/></a></li>
    <li><a href="?_lang=pt_BR" class="btn waves-effect btn waves-button waves-float"><img title="Portuguese" src="#appResource.PT-Portugal-Flag-icon.png#"/></a></li>
</div>

<script>
$(function(){
    $("#page > header > div.navbar-inner > div > div.nav-no-collapse.header-nav > ul").prepend( $("#languages li") );
});
</script>

Figure 1: Userview Theme with Language Selector

2. Upload country flags using "Properties & Export" > "Add Resource".

  • No labels