Jump to content

(SOLVED) Move blockpaymentlogo problems


Recommended Posts

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

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...