Artunj Posted November 29, 2013 Share Posted November 29, 2013 Hi Please look at the picture Logo in the right site. I wanna move it to footer. How to do it? In configure it is not possible to do Version is: 3.6.1 Link to comment Share on other sites More sharing options...
ibndawood Posted November 30, 2013 Share Posted November 30, 2013 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 This should work. Link to comment Share on other sites More sharing options...
Artunj Posted November 30, 2013 Author Share Posted November 30, 2013 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 More sharing options...
ibndawood Posted December 1, 2013 Share Posted December 1, 2013 Did you paste the code in the wrong place ? Can u give me some excerpt from above and below the code you pasted ? Link to comment Share on other sites More sharing options...
vekia Posted December 1, 2013 Share Posted December 1, 2013 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. 1 Link to comment Share on other sites More sharing options...
ibndawood Posted December 1, 2013 Share Posted December 1, 2013 I'd go with Vekia's suggestion ! Its much simpler. Link to comment Share on other sites More sharing options...
Artunj Posted December 1, 2013 Author Share Posted December 1, 2013 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 More sharing options...
vekia Posted December 1, 2013 Share Posted December 1, 2013 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: 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 More sharing options...
Artunj Posted December 1, 2013 Author Share Posted December 1, 2013 thanks, but now there are 2 paypal logos :/ Link to comment Share on other sites More sharing options...
vekia Posted December 1, 2013 Share Posted December 1, 2013 by "there" you mean footer? Link to comment Share on other sites More sharing options...
Artunj Posted December 1, 2013 Author Share Posted December 1, 2013 this: Link to comment Share on other sites More sharing options...
Artunj Posted December 1, 2013 Author Share Posted December 1, 2013 this problem solved. thanks a lot Link to comment Share on other sites More sharing options...
vekia Posted December 1, 2013 Share Posted December 1, 2013 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 More sharing options...
Recommended Posts