View Single Post
  #1  
Old 02-04-2012, 11:47 PM
 
Marcy Marcy is offline
 

Advanced Member
  
Join Date: Feb 2012
Posts: 50
 

Default How to Change the Store Logo

Hello-

I feel like this should be basic, but I am having a very hard time with this. I am using this information from the manual:

-----

To replace the logo:

If the filename of your company logo is different to the filename of the default logo.
Log in to the Admin area and go to the Edit templates section (Administration menu -> Edit templates).
Use the Browse templates form to locate the folder where you want to keep the file with logo. It can be either the directory with the default logo file (see the table) or any other location inside the images/ directory.
After you choose where to keep your company logo, find section Upload file to the current directory at the bottom of the form and click the Browse button to open a file upload dialog window.
Locate the image file with your company logo and choose it for the upload.
Click the Upload button to upload the file to the current directory.
Click on the Edit templates breadcrumbs link at the top of the page to go back to the root skin directory skin1/.
In the Browse templates form go to the folder customer and click on the head.tpl link to open the respective file for editing.
In the Edit file form, find the following code:
<div class="logo">
<a href="{$catalogs.customer}/home.php">
<img src="{$ImagesDir}LOGO_PATH_AND_FILENAME" alt="" />
</a>
</div>
and replace the LOGO_PATH_AND_FILENAME part with the the relative path to the directory where your company logo is located and the logo filename. For example, if the image file with the logo is located in the directory <xcart_dir>/skin1/images/custom and its name is custom_logo.gif, the LOGO_PATH_AND_FILENAME part must be replaced with /custom/custom_logo.gif.
Click the Save button for the changes to take effect.

---


My logo is called "logo.jpg"

I uploaded it to skin/fashion_mosaic_grey/images/custom
AND
to skin/common_files/images

I edited the file "head.tpl" located at

skin/fashion_mosaic_grey/head.tpl
AND
skin/common_files/customer/head.tpl


I changed <img src="{$ImagesDir}LOGO_PATH_AND_FILENAME" alt="" />

to <img src="{$ImagesDir}/custom/logo.jpg"> in the fashion_mosaic_grey folder
AND
to <img src="[$ImagesDir}/logo.jpg"> common_files folder.

However the image doesn't change. I still have the stock x-Cart image. Can someone tell me what I'm doing wrong? I'm ready to pull my hair out!

Thank you!
Marcy
__________________
X-Cart Gold 4.4.5
No add-ons
Reply With Quote