Jump to content

[SOLVED] move PayPal module logo to the footer


Recommended Posts

Hi,

 

The default Paypal module cannot be hooked to footer. You'll have to right your own custom code. Here is how :

 

Go to  modules/paypal/paypal.php and look for hookLeftColumn add this code below the hookLeftColumn method :

public function hookFooter(){
    return $this->hookRightColumn();
}

The above code will allow paypal module to be hooked to footer.

 

* Now Click on "Manage Hooks".

* Search for displayRightColumn (Right Column Blocks) and remove the Paypal Block

* Then Click on Transplant a Module and do this

post-732514-0-19999700-1385787024_thumb.png

 

This should work.

 

 

Link to comment
Share on other sites

Hi, I made 

public function hookFooter(){
return $this->hookRightColumn();
}

 

but when opened website this error displayed:

Parse error: syntax error, unexpected T_PUBLIC in /home/content/02/11309602/html/modules/paypal/paypal.php on line 511

Link to comment
Share on other sites

why not to... just paste the code for this image to the footer.tpl ?

or just to free module like html box / content box ?

 

then, after each update of paypal module it will always works.

 

can you explain detally please? how to do it?

Link to comment
Share on other sites

1) download module: free html box

2) install it in your back office

3) open module configuration page

4) from left hand side block select "Footer"

5) to the right hand box paste code with your image

 

wondering how the code looks like? 

the easiest thing: open your website, right click on image and copy image url

 

then:

qF8FBXr.gif

1) click on image in tinymce editor

2) paste url to image (you copied it before)

3) press insert

 

voila ;)

Link to comment
Share on other sites

it's because your paypal module was attached to the right column.

solution: remove the paypal module from right column (displayRightColumn) modules list in: modules > positions tab in back office

 

thread marked as [solved]

 

with regards,

Milos

Link to comment
Share on other sites

×
×
  • Create New...