[Plugin: qTranslate] Change language on current URL through lightbox
-
Hi there! I’m building a website where I’m using the qTranslate and WP Multibox plugins, and I could use some help with the following.
In my header I have a hyperlink which opens a lightbox. The hyperlink is hardcoded and opens an actual page called “Select Language” in the lightbox, where a list of available languages is shown using this code;
<?php echo qtrans_generateLanguageSelectCode('image'); ?>
Since it’s hardcoded, each language link in the list adds /select-language/ at the end of the URL. I want to change the language on the page that I’m currently on, which is outside the lightbox. This may very well be because I’ve hardcoded the hyperlink to the list in the first place. The lightbox must be there, but how do I work around this?
Help would be much appreciated!
- The topic ‘[Plugin: qTranslate] Change language on current URL through lightbox’ is closed to new replies.