darren62 Posted March 4, 2010 Share Posted March 4, 2010 I have been modifying the standard template and was doing OK until I got to the point of moving the currency and language blocks from the top to the right. I also moved the Permanent links block as I didn't want any of this on the top.I hooked them all up to the right and then deleted them from the top and only the permanent links showed but not the currency or language modules.I then deleted them from the right hand side and tried to put them back up the top but they wouldn't reappear so now it seems that they are lost forever.Is there any way of getting round this problem and can these actually be moved from the top to a different place. Link to comment Share on other sites More sharing options...
darren62 Posted March 8, 2010 Author Share Posted March 8, 2010 So I assume that nobody either knows how to do this or why it happens.Is it a bug or is it me?Either way a post for help on a forum that doesn't get answered will always look poor for the system.Pity as I really like it and actually consider it to have far more about it than others in the same area. Link to comment Share on other sites More sharing options...
razaro Posted March 8, 2010 Share Posted March 8, 2010 Try something like this.In prestashop\modules\blocklanguages\blocklanguages.phpadd this public function hookRightColumn($params) { global $smarty; $languages = Language::getLanguages(); if (!sizeof($languages)) return ''; $smarty->assign('languages', $languages); return $this->display(__FILE__, 'blocklanguages.tpl'); } public function hookLeftColumn($params) { return $this->hookRightColumn(); } and check css.In default module only Top hook is defined, so you have to add hooks for left/right columns. Link to comment Share on other sites More sharing options...
darren62 Posted March 12, 2010 Author Share Posted March 12, 2010 Thanks Razaro but I didn't try this as I found a module to do it at;http://www.prestashop.com/forums/viewthread/12555/third_party_modules/module_lang_and_currency_menu 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