I am building a store with 2 languages, and I have turned of the language selector sidebox, because I want to have just a text link in the Navigation Header that would take me to the other language.
Note that if you are using language 1, you will see only one text link that takes you 2 language to and vise versa.
so I have added one <td width="10%"> </td> statment in tpl_header.php that would hold the text link to take you to english language.
I have 2 custom tpl_header.php for each language tempalte.
PHP Code:
<td width="10%" align="left" class="language_box"><a href="http://mydomain.com/index.php?main_page=index&language=en">English</a>
</td>
this is working ok, but this will always take me to the main page of the English store
I need to edit the href code to take me to the equivalent page of the English language.
Yabora
Bookmarks