peorthyr Posted May 9, 2014 Share Posted May 9, 2014 Good day all.I have this problem:let's say I'm on a page which URL is:http://www.example.com/en/page.html this page, in deutch language, is at the URL:http://www.example.com/de/seite.html let's say I've a module that hook on the header of the page, from there, beeing on the english url, is there a way to retrieve the link of the page i'm on in a different language? Link to comment Share on other sites More sharing options...
gonebdg - webindoshop.com Posted May 12, 2014 Share Posted May 12, 2014 What is your Prestashop version ? You can use getPageLink function with $id_lang parameter to retrieve page URL according to language that you need or use getModuleLink function to get module link For complete references, check out Prestashop classes Link 1 Link to comment Share on other sites More sharing options...
peorthyr Posted May 12, 2014 Author Share Posted May 12, 2014 thanks! I have solved giving a look to the links.php file in the class folder I have found all the kind of "getLink" now thanks for the answer! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now