I placed the language change link on the custom top menu and I want the link URL to change dynamically depending on the language being used. (if English the link say Spanish and vice versa). I created the difnes in both language files so the text changes correctly but I don't know how to make the link work. I used the following which just goes to the home page but I was hoping some mods to it would make it work.
I figure some sort of {IF} switch may be required.<?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo LANGUAGE_SELECTION; ?></a>
Secondly how would I make a link in general so that when I go to SSL and click to go elswhere I don't get stuck under SSL. ie
How would I make the above link method work for this
index.php?main_page=page_2
Bookmarks