Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Having issues replacing images in admin


Guest

Recommended Posts

Posted

This must be so basic but I'm still having issues.

 

In my admin section no images are displaying along the top. ie. top left - white box red cross - store name appears, top right three white boxes with red crosses and wording- support site, online catalogue and administration.

 

I know it's only the admin section and no one sees this but it's bugging me how to do it properly.

 

I have edited the invoice and packing slips to remove the images, but along the way have had so much advice from others and help that I can't remember what files have been edited that correspond with the image errors.

 

I need to be walked through how to successfully add or remove the images without those annoying boxes appearing.

 

I've read plenty about replacing standard gifs with the correct image file name but I'm obviously not doing it right.

 

I was shown how to do this with the catalogue side and got that but the files don't seem to have the same wording ie url(images/...../....

in the files where is says (DIR_ WS_IMAGES. and there are a series of '' - what exactly is supposed to be in those single quotes?

 

Could someone PLEASE walk me through how to do this.

 

Basically I'm all muddled up and appreciate some expert advice.

 

thanks in advance,

 

Belinda

Posted

Hi Belinda. I'm not sure exactly what you're asking, but in the admin section, the default logo is the oscommerce logo.

 

That's located in catalog/admin/images/oscommerce.gif

 

You need to take your own logo, and you know what? For simplification purposes, just take your own logo, and rename it to oscommerce.gif, and upload it using your FTP client to the catalog/admin/images folder, overwriting the standard osc logo.

 

Then your logo will appear. I think this is what you're asking. If you have any further questions, please feel free to ask.

Jason

 

Simple 1-2-3 Intructions on how to get, install and configure SSL

 

The Google Sandbox explained

 

Simple to follow instructions on how to change the look of your OSC

 

How To Make A Horrible OSC Website

 

my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP

 

my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...

Posted

That was the simple answer, to what I think your question was.

 

Now if you want to delve further into this, the pemanent solution involves two things:

 

(1) In catalog\admin\includes\header.php, look for (around line 19):

<td><?php echo tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'oscommerce', '204', '50'); ?></td>

 

Replace oscommerce.gif with your logo name, and make sure that your logo is FTP'd (uploaded) into the catalog/admin/images section. You may need to edit your image size. The 204 refers to the width (in pixels) and the 50 refers to the height (in pixels). Change those to what your logo size is.

 

(2) Then go to admin/index.php. Around line 100, find:

<td height="50"><?php echo tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'oscommerce', '204', '50'); ?></td>

 

Again, change this to your logo name, size, and make sure your logo is uploaded to catalog/admin/images folder using your FTP tool.

 

That should do it. If you have any further questions, let me know.

Jason

 

Simple 1-2-3 Intructions on how to get, install and configure SSL

 

The Google Sandbox explained

 

Simple to follow instructions on how to change the look of your OSC

 

How To Make A Horrible OSC Website

 

my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP

 

my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...

Posted

Oh, I'm forgetful this morning. Also, in catalog/admin/index.php, look around line 114 or so.

 

Find:

$heading[] = array('params' => 'class="menuBoxHeading"',

'text' => 'oscommerce');

 

Change oscommerce to your company name, and as always, upload all these files -- catalog/admin/index.php, and catalog/admin/includes/header.php to their appropriate directories using your FTP tool.

 

Any questions, ask away. Hope I didn't forget anything else ... lol

Jason

 

Simple 1-2-3 Intructions on how to get, install and configure SSL

 

The Google Sandbox explained

 

Simple to follow instructions on how to change the look of your OSC

 

How To Make A Horrible OSC Website

 

my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP

 

my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...

Posted
Oh, I'm forgetful this morning. Also, in catalog/admin/index.php, look around line 114 or so.

 

Find:

$heading[] = array('params' => 'class="menuBoxHeading"',

'text' => 'oscommerce');

 

Change oscommerce to your company name, and as always, upload all these files -- catalog/admin/index.php, and catalog/admin/includes/header.php to their appropriate directories using your FTP tool.

 

Any questions, ask away. Hope I didn't forget anything else ... lol

 

 

Dear Jason,

 

Sorry for delay in my replay - have been struck with the flu - Your advice was spot on - thank you.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...