Prestawise Posted July 12, 2010 Share Posted July 12, 2010 Hi guys..Im having some problems with my blockpaymentlogo - i want it moved from left collum to the top of the page, and i have edited the blockpaymentlogo.php from leftcollum to top when installing the module.When i uninstall the module and install it again it totally dissapears from my site, and i cant see it anywhere.. Anyone know where it might be - and how do i get it in right position? Link to comment Share on other sites More sharing options...
razaro Posted July 12, 2010 Share Posted July 12, 2010 Have you added code similar to this ? function hookTop($params) { return $this-> hookLeftColumn($params); } and changed install fuction to function install() { if (!parent::install()) return false; if (!$this->registerHook('top)) return false; return true; } Link to comment Share on other sites More sharing options...
Prestawise Posted July 12, 2010 Author Share Posted July 12, 2010 Have you added code similar to this ?function hookTop($params) { return $this-> hookLeftColumn($params); } and changed install fuction to function install() { if (!parent::install()) return false; if (!$this->registerHook('top)) return false; return true; } It works - i can now see it on top of the page.. But it need it placed more specific - do i edit the position of the module in global css?Thanks for the fast reply Link to comment Share on other sites More sharing options...
razaro Posted July 12, 2010 Share Posted July 12, 2010 Yes you can edit global.css and/or try different combination in BackOffice>> Modules>>Position under top of pages section Link to comment Share on other sites More sharing options...
Prestawise Posted July 12, 2010 Author Share Posted July 12, 2010 Thank you very much for helping Do you know any code i could use to move my block in the position on the picture? Link to comment Share on other sites More sharing options...
razaro Posted July 12, 2010 Share Posted July 12, 2010 Can you post/PM link to your site or is it on local server..Try this in global.css (line 1385) change to div.paiement_logo_block { clear:both; float:right; margin-bottom:1.5em; margin-right:6em; margin-top:5em; text-align:center; width:191px; } and adjust values for margin-top and margin-right Link to comment Share on other sites More sharing options...
Prestawise Posted July 12, 2010 Author Share Posted July 12, 2010 Wow dude you are the best!!Thank you so much for helping 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