Peeps Posted June 17, 2012 Share Posted June 17, 2012 Hi, I would like to change the current Paypal logo on my home page for another one. I have looked on the forum but didn't find an answer, can anyone help with this please? Can't seem to find the option in home text editor either? I have attached the logo that I would like to change, it is the one that comes with the standard theme and is positioned in the right column of my page. Thanks for your help as always. Link to comment Share on other sites More sharing options...
nadie Posted June 17, 2012 Share Posted June 17, 2012 Hi, I would like to change the current Paypal logo on my home page for another one. I have looked on the forum but didn't find an answer, can anyone help with this please? Can't seem to find the option in home text editor either? I have attached the logo that I would like to change, it is the one that comes with the standard theme and is positioned in the right column of my page. Thanks for your help as always. File path image paypal: /modules/paypal/img/vertical_US_large.png _ES_ if Spain, _IT_, if Italian ect.. File path where the image charge *.tpl: /modules/paypal/column.tpl <div class="advertising_block"> <p><a href="{$base_dir_ssl}modules/paypal/about.php" rel="nofollow"><img src="{$logo}" alt="PayPal" title="{l s='Pay with PayPal' mod='paypal'}" /></a></p> </div> In the class paypal.php reference column.tpl public function hookRightColumn($params) { global $smarty, $cookie; $smarty->assign('iso_code', Tools::strtolower(Language::getIsoById($cookie->id_lang ? (int)($cookie->id_lang) : 1))); $smarty->assign('logo', $this->getLogo(false, true)); return $this->display(__FILE__, 'column.tpl'); } public function hookLeftColumn($params) { return $this->hookRightColumn($params); } Sorry for my English 1 Link to comment Share on other sites More sharing options...
Peeps Posted June 17, 2012 Author Share Posted June 17, 2012 Thank you for taking the time to reply to my post, I appreciate it. Is there an easier way of doing this as it looks a little complicated for me ( I am not as experienced as you :-) Best Wishes and please don't apologise for your English, it is very good and 100% better than my Spanish! Link to comment Share on other sites More sharing options...
nadie Posted June 17, 2012 Share Posted June 17, 2012 Thank you for taking the time to reply to my post, I appreciate it. Is there an easier way of doing this as it looks a little complicated for me ( I am not as experienced as you :-) Best Wishes and please don't apologise for your English, it is very good and 100% better than my Spanish! If you simply want to change the image, you can change from FTP, enter the directory of the image that was discussed above. /modules/paypal/img/ Or just want to remove the image? Sorry for my English 1 Link to comment Share on other sites More sharing options...
Peeps Posted June 17, 2012 Author Share Posted June 17, 2012 No I don't want to remove the image, just replace it with another one that's all. If my new image was called "newimage.jpg' where would I add this in the .tpl file to replace the existing one as discussed above? I just thought that there would be somewhere in Prestashop Admin that you could do this without having to change the .tpl files. Thanks again for your help :-) Link to comment Share on other sites More sharing options...
nadie Posted June 17, 2012 Share Posted June 17, 2012 No I don't want to remove the image, just replace it with another one that's all. If my new image was called "newimage.jpg' where would I add this in the .tpl file to replace the existing one as discussed above? I just thought that there would be somewhere in Prestashop Admin that you could do this without having to change the .tpl files. Thanks again for your help :-) Simply if you want to change the image, you can place a hand in the file: /modules/paypal/column.tpl Or go one with the same name as the current image directory. /modules/paypal/img/vertical_LANG_large.png (default: vertical_US_large.png) This image you can not change from the prestashop panel (You must change the way I mentioned me.) Sorry for my English 1 Link to comment Share on other sites More sharing options...
Bill Dalton Posted June 17, 2012 Share Posted June 17, 2012 Peeps, as nadie pointed out, no need to edit any files, just name your new image vertical_US_large.png and replace /modules/paypal/img/vertical_US_large.png 1 Link to comment Share on other sites More sharing options...
nadie Posted June 17, 2012 Share Posted June 17, 2012 Yes you wish you can send a private message and I can help change the image. Sorry for my English 1 Link to comment Share on other sites More sharing options...
Peeps Posted June 17, 2012 Author Share Posted June 17, 2012 (edited) Thanks for your help again guys. Do you mean add/name my new image here? ( See attached.) All the best and thanks for your patience :-) Not sure if the attached image works but I am talking about Back Office>Modules>Payments & Gateways> Paypal. then this... Logos and personalization Logos and personalizations Banner image URL: The image should be hosted on a secure (https) server. Max: 750x90px. Template chosen for PayPal Integral Evolution: A B C Edited June 17, 2012 by Peeps (see edit history) Link to comment Share on other sites More sharing options...
nadie Posted June 17, 2012 Share Posted June 17, 2012 The image you have to climb through an ftp client, for example filezilla. Sorry for my English. 1 Link to comment Share on other sites More sharing options...
Bill Dalton Posted June 17, 2012 Share Posted June 17, 2012 (edited) Hi Peeps, this is not changed in Back Office. Simple name your new image "vertical_US_large.png" Use an FTP program or your cpanel to upload your new image to replace the following image, /modules/paypal/img/vertical_US_large.png Edited June 17, 2012 by Bill Dalton (see edit history) 1 Link to comment Share on other sites More sharing options...
nadie Posted June 17, 2012 Share Posted June 17, 2012 Download Client Filezilla: http://filezilla-project.org/, write your data connection and simply replace the image that has been discussed in this topic. Sorry for my English 1 Link to comment Share on other sites More sharing options...
Peeps Posted June 17, 2012 Author Share Posted June 17, 2012 Hi guys, I have "Yummy" FTP client on my Mac for this so... Via FTP I simply replace the file /modules/paypal/img/vertical_US_large.png with my new image /modules/paypal/img/MYNEWIMAGE.PNG ? Think I have got it at last hopefully! Thanks to both of you, you are stars! :-) Link to comment Share on other sites More sharing options...
nadie Posted June 17, 2012 Share Posted June 17, 2012 Hi guys, I have "Yummy" FTP client on my Mac for this so... Via FTP I simply replace the file /modules/paypal/img/vertical_US_large.png with my new image /modules/paypal/img/MYNEWIMAGE.PNG ? Think I have got it at last hopefully! Thanks to both of you, you are stars! :-) The name of the image must have the same name, just replace it and will be working. Sorry for my English Link to comment Share on other sites More sharing options...
tdr170 Posted June 17, 2012 Share Posted June 17, 2012 Look to line 617 of paypal.php and change the image name there thats all. You will see this - 'US_vertical' => _MODULE_DIR_.$this->name.'/img/vertical_US_large.png' Just look in the img folder in the paypal module folder find the image you like and change the image name in the line above. So it may look like this US_pp_integral.gif 'US_vertical' => _MODULE_DIR_.$this->name.'/img/US_pp_integral.gif' (note the image must be less then 200px wide or it will be croped to the right.) 1 Link to comment Share on other sites More sharing options...
nadie Posted June 17, 2012 Share Posted June 17, 2012 Look to line 617 of paypal.php and change the image name there thats all. You will see this - 'US_vertical' => _MODULE_DIR_.$this->name.'/img/vertical_US_large.png' Just look in the img folder in the paypal module folder find the image you like and change the image name in the line above. So it may look like this US_pp_integral.gif 'US_vertical' => _MODULE_DIR_.$this->name.'/img/US_pp_integral.gif' (note the image must be less then 200px wide or it will be croped to the right.) No need to edit the class paypal.php if you go up the file with the same name. Sorry for my English Link to comment Share on other sites More sharing options...
Peeps Posted June 18, 2012 Author Share Posted June 18, 2012 Thanks for all your help, I will have a go at this tomorrow and let you know how I get on. I have had a quick look via FTP and am still a bit unsure so to be safe I will sleep on it and visit again tomorrow. Thanks all :-) Link to comment Share on other sites More sharing options...
nadie Posted June 18, 2012 Share Posted June 18, 2012 Thanks for all your help, I will have a go at this tomorrow and let you know how I get on. I have had a quick look via FTP and am still a bit unsure so to be safe I will sleep on it and visit again tomorrow. Thanks all :-) We'll be here all night and all day for you to ask us any questions or concerns you may have to replace the image. Sorry for my English 1 Link to comment Share on other sites More sharing options...
Peeps Posted June 18, 2012 Author Share Posted June 18, 2012 (edited) Thanks tdr170, Look to line 617 of paypal.php and change the image name there thats all. You will see this - 'US_vertical' => _MODULE_DIR_.$this->name.'/img/vertical_US_large.png' "Just look in the img folder in the paypal module folder find the image you like and change the image name in the line above. tdr170, where is this folder and are you saying I can only choose an image from here and not add my own? Cheers Bud. Nadie, Thanks for your 24 hour support! Unfortunately, I am getting sleepy now as it is 1.18am in the UK and I have a busy day tomorrow so I need to sleep just for a few hours at least. Hopefully I will speak with you again soon. Bill, Hopefully It will all register tomorrow, thanks for your help. Thanks again to all :-) Edited June 18, 2012 by Peeps (see edit history) Link to comment Share on other sites More sharing options...
tdr170 Posted June 18, 2012 Share Posted June 18, 2012 Look here ../modules/paypal/img there are more paypal images here. You could also put any image in this folder and use the original name as nadie suggested. (vertical_US_large.png) Be sure to rename the original first to something like vertical_US_large_back.png or you will overwright it. Both will take the same amount of time and effort. Link to comment Share on other sites More sharing options...
Peeps Posted June 18, 2012 Author Share Posted June 18, 2012 Thanks tdr170, I will try this tomorrow. I appreciate your help. Cheers :-) Goodnight Link to comment Share on other sites More sharing options...
Bejo Posted November 6, 2012 Share Posted November 6, 2012 File path image paypal: /modules/paypal/img/vertical_US_large.png _ES_ if Spain, _IT_, if Italian ect.. File path where the image charge *.tpl: /modules/paypal/column.tpl <div class="advertising_block"> <p><a href="{$base_dir_ssl}modules/paypal/about.php" rel="nofollow"><img src="{$logo}" alt="PayPal" title="{l s='Pay with PayPal' mod='paypal'}" /></a></p> </div> In the class paypal.php reference column.tpl public function hookRightColumn($params) { global $smarty, $cookie; $smarty->assign('iso_code', Tools::strtolower(Language::getIsoById($cookie->id_lang ? (int)($cookie->id_lang) : 1))); $smarty->assign('logo', $this->getLogo(false, true)); return $this->display(__FILE__, 'column.tpl'); } public function hookLeftColumn($params) { return $this->hookRightColumn($params); } Sorry for my English thank for sharing but i can not find this file on the latest version paypal Versi :3.2.5 i need to be remove it and change the image and url. any suggest? Link to comment Share on other sites More sharing options...
AndreeaR Posted March 12, 2014 Share Posted March 12, 2014 (edited) Hello everyone, I'm using version 1.5.6.1 Prestashop and version 3.6.6 Paypal. After I upgraded module Paypal my logos have disappeared. I can say I changed the next thing in Paypal , process.php , to be able to make payments because of my country's national currency was not accepted by Paypal. My site ( located in my computer) is in two languages : RO ( Romanian) and EN ( English) define("PAYPAL_FORCE_CURRENCY",2); Here are the two pictures, in which I highlighted the problems to which I refer: https://www.dropbox.com/s/44r5fnkda56dulv/1p.jpg https://www.dropbox.com/s/5d9q8bw1wruq1bl/2p.jpg Thanks to all -------------------------- Solved Edited March 12, 2014 by AndreeaR (see edit history) Link to comment Share on other sites More sharing options...
ZoXx Posted February 21, 2015 Share Posted February 21, 2015 (edited) Hey, i would change the image:DE_horizontal_solution_PP.gif to DE_horizontal_solution_PP.pngCant find the code to change it.why is germany the last one, who has .gif?thanks!! Prestashop: 1.6.0.11Paypal: 3.8.1 Edited February 22, 2015 by ZoXx (see edit history) Link to comment Share on other sites More sharing options...
JayKay Posted April 20, 2015 Share Posted April 20, 2015 Same problem... Any idea ? Link to comment Share on other sites More sharing options...
ZoXx Posted July 23, 2015 Share Posted July 23, 2015 Nobody can help us? 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