moony1234 Posted January 15, 2011 Share Posted January 15, 2011 Hi,Since installing this my currency/language selector has vanished... Can anyone help me get it back??Thanks! Link to comment Share on other sites More sharing options...
tomerg3 Posted January 15, 2011 Share Posted January 15, 2011 What version of PS are you using?If you disable the module, is it back to normal? Link to comment Share on other sites More sharing options...
moony1234 Posted January 15, 2011 Author Share Posted January 15, 2011 Hi,Version 1.3.5.0It's actually gone now even if I disable/uninstall the module :/ Link to comment Share on other sites More sharing options...
tomerg3 Posted January 15, 2011 Share Posted January 15, 2011 Then it can't be related, maybe you disabled the module, or removed it from the hook. Link to comment Share on other sites More sharing options...
moony1234 Posted January 15, 2011 Author Share Posted January 15, 2011 Thats what I thought but I tried removing it and re-adding it in the hook... It is there in the Positions and modules but just doesnt appear...Is there a certain line in the header.php/tpl that brings it up? Link to comment Share on other sites More sharing options...
tomerg3 Posted January 16, 2011 Share Posted January 16, 2011 No, enabling / disabling the module is all you need.Did you change anything in the tpl file for the module, maybe there is an error or the tpl is missing. Link to comment Share on other sites More sharing options...
moony1234 Posted January 16, 2011 Author Share Posted January 16, 2011 Hi,Yes I added some lines as below:require_once(dirname(__FILE__).'/init.php');include_once(_PS_MODULE_DIR_.'/locationdetection/locationdetection.php');$locationDetection = new LocationDetection();$locationDetection->redirect_user();I've tried removing them and disabling the module but still no language/currency selector... The language selector *does* show in the back office though which is odd? Link to comment Share on other sites More sharing options...
moony1234 Posted January 16, 2011 Author Share Posted January 16, 2011 Sorry that is header.php not .tpl. Link to comment Share on other sites More sharing options...
tomerg3 Posted January 16, 2011 Share Posted January 16, 2011 When you go to Tools->Languages, do you see more than one enabled language? Link to comment Share on other sites More sharing options...
moony1234 Posted January 16, 2011 Author Share Posted January 16, 2011 Hi, yes i see French and english. Thanks Link to comment Share on other sites More sharing options...
moony1234 Posted January 18, 2011 Author Share Posted January 18, 2011 Bump :/ not sure what to do now Link to comment Share on other sites More sharing options...
moony1234 Posted January 20, 2011 Author Share Posted January 20, 2011 I've tried everything...Back to standard template.Re-uploaded header.php and header.tplUninstalled any extra modules I hadRe-installed standard language/currency blocksCan't get them to re-appear...When I view the source of the front office shop it has the top block code for search, user info, top menu links, etc but not language/currency (What are my options?? Link to comment Share on other sites More sharing options...
maxcady Posted June 27, 2011 Share Posted June 27, 2011 Hi, did you find a solution? I am having the same error. The language block WAS in the header page position. I disabled it and now it won't reappear even though I did everything (reinstalling etc. etc.).It appears if I place it in the top page section but that's actually not the place I want it to be.Thanks for any suggestions. Link to comment Share on other sites More sharing options...
tomerg3 Posted June 27, 2011 Share Posted June 27, 2011 The module is only set up to be in the top section of the site, if you want to transplant it to another hook, you will have to modify the module to work for that hook. Link to comment Share on other sites More sharing options...
maxcady Posted June 27, 2011 Share Posted June 27, 2011 Thank you for the reply. You mean the langage switcher won't work at "header of page" position? It seems to work in the prestashop demo http://www.prestashop.com/demo/and as far as I remember it did work there when I initially installed prestashop. I just disabled it and now I just cannot get it working at the same place again. Link to comment Share on other sites More sharing options...
tomerg3 Posted June 27, 2011 Share Posted June 27, 2011 The "Header" hook is for javascript / css codes.The module uses to the "Top" hook for display. Link to comment Share on other sites More sharing options...
maxcady Posted June 27, 2011 Share Posted June 27, 2011 Thank you for the info! 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