appliances Posted November 20, 2012 Share Posted November 20, 2012 Hello, I am having trouble uploading a new logo onto my prestashop back office site, along with the store icon. When I upload it it shows the new logo in the back office but when I look at it in the front office it does not show. I even deleted the old logo from my server and checked to see if the new one was there and it was. Also, after I upload the pictures it says settings saved successfully but if I change the page and go back to it no photo is being shown. Does anyone know how to fix this? Thanks for your help. Link to comment Share on other sites More sharing options...
SteffenL Posted November 20, 2012 Share Posted November 20, 2012 (edited) Hello, Edit: See this for a better solution that worked for me: http://www.prestasho...ost__p__1024773 I had the same problem recently, and it was because the name of the uploaded logo had changed from "logo.jpg" to "logo-1.jpg", but the old name was still being used somehow. In the file themes\<theme>\header.tpl file, look for the following. <img class="logo" src="{$logo_url}" I worked around the problem using this code instead. <img class="logo" src="{$img_ps_dir}logo-1.jpg" I don't know if there are potential problems but there haven't been any so far. Edited November 30, 2012 by SteffenL (see edit history) 1 Link to comment Share on other sites More sharing options...
yaniv14 Posted November 20, 2012 Share Posted November 20, 2012 try to clear you browser cache (ctrl+f5) few times Link to comment Share on other sites More sharing options...
appliances Posted November 20, 2012 Author Share Posted November 20, 2012 (edited) Thank you very much guys, after changing the code and clearing my browser cache it worked. Just one more thing, my store icon changed from the Prestashop logo but it didn't change to the one I submitted. What folder can I go to to edit the coding and make the correct changes? Thanks a bunch. Edited November 20, 2012 by appliances (see edit history) Link to comment Share on other sites More sharing options...
yaniv14 Posted November 20, 2012 Share Posted November 20, 2012 Check your root -> img folder (logo_store.gif) 1 Link to comment Share on other sites More sharing options...
SteffenL Posted November 30, 2012 Share Posted November 30, 2012 (edited) I figured something out yesterday and wanted to share it with you. In my case, {$logo_url} was always logo.jpg (apparently wrong). I think the number in logo-1.jpg is the shop ID (because of the new multi-store feature). In the database and in the table called "ps_configuration", there are some interesting things. This is what I found regarding logos (almost the same as this): PS_LOGO = logo.jpg PS_LOGO_MAIL = logo_mail.jpg PS_LOGO_INVOICE = logo_invoice.jpg PS_FAVICON = favicon.ico PS_STORES_ICON = logo_stores.gif I had not found this anywhere in the back office. But wait, there's more... PS_LOGO = logo-1.jpg PS_LOGO_MAIL = logo_mail-1.jpg PS_LOGO_INVOICE = logo_invoice-1.jpg PS_FAVICON = favicon-1.ico PS_STORES_ICON = logo_stores-1.gif There were duplicate fields with different values! This must have happened during my upgrade from PS 1.4 to 1.5, probably due to a bug. This is what I did: Deleted the duplicate fields. Kept only logo.jpg, logo_mail.jpg, etc, because some code still has these names hardcoded. You may have to keep the other ones though, especially if you use the multi-store feature. This solved all of my problems with the logos not appearing correctly. Edited November 30, 2012 by SteffenL (see edit history) 2 Link to comment Share on other sites More sharing options...
JerseyG Posted November 30, 2012 Share Posted November 30, 2012 (edited) Hi Favicon problem solution can be found here (if the error is that you cannot see it in themes):- http://www.prestasho...01#entry1017801 Zenobius came up with the answer via ps_configuration G Edited November 30, 2012 by JerseyG (see edit history) 1 Link to comment Share on other sites More sharing options...
Recommended Posts