Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to change image location (see attached file)


Guest

Recommended Posts

Posted

Hello all

 

Could you give me advice how to change Corner_left.gif Corner_right_left.gif and Corner_right.gif images location

 

the simpliest way is to rename Corner_left.gif to Corner_right_left.gif and vice versa but in this case all box images will change, I need to change only some specific box images

 

see an attached file

 

untitledkd2.jpg

Posted

to change the name of your info box heading images you do that in includes classes boxes. An yes this will change them on all boxes.

 

If you want to change only 1 box you will need to change the class of that boxe and add that class to your classes/boxes.php or hack into the php code for the boxes you want different and hard code the image into that box heading.

 

I am too busy to give you step by step instructions and don't have any idea what level of html or php you have, but those are your options

Posted

I know HTML well but PHP not as good

 

please can anyone help me

Posted

What exactly do you think is rude about my reply?

 

I pointed fxtrader777 in the right direction.

 

I find your reply towads me uncalled for and Offensive. Some posters are expert html and php but unfamilliar with oscommerce and some don't know php at all and in the 1st case there is no further instructins needed.

:'( :-" :blink: >_<

 

 

 

lola that was a little rude! anyway what exactly do you want to do with the corner_right.gif etc etc, change how they look on your boxes or remove them, what??
Posted

If you go to catalog/includes/boxes/whichever_box you_want _to_change.php

and find this code

new infoBoxHeading($info_box_contents, true, false);

the first true tells it corner_left.gif

It that was false it would point to corner_right_left.gif

the second one (false) is for the right corner image false in this case is corner_right_left.gif

If you wanted the arrow for linking to a page then it would be like this

  new infoBoxHeading($info_box_contents, false, false, tep_href_link(FILENAME_REVIEWS));

Just rename your images to match the names of the existing ones and upload them to

catalog/images/infobox

No need to create a new class

My Contributions

 

Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly

Password Protect Admin

"No matter where you go....There you are" - Buccaroo Bonsai

Archived

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

×
×
  • Create New...