Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Where can I edit these things?


cwg25

Recommended Posts

Posted

I started off with osc with the template that came with it. I'm slowly modifying it to make it look the way I want to. I'm having trouble finding the file or files to get rid of the small images to the left of the title on the home page, catalog. For each of these titles, "Categories", "What's New", "Quick Find", etc., etc., there is a small image to the left. How can I edit these images out and left align the titles of the sections?

 

Thanks!

Posted
I started off with osc with the template that came with it. I'm slowly modifying it to make it look the way I want to. I'm having trouble finding the file or files to get rid of the small images to the left of the title on the home page, catalog. For each of these titles, "Categories", "What's New", "Quick Find", etc., etc., there is a small image to the left. How can I edit these images out and left align the titles of the sections?

 

Thanks!

 

 

The way i did that was to make new transparent gif images and give them the same names as those images.. in the info box directory /catalog/images/infobox or something similar . corner_left.gif , corner_right.gif etc .... that why i didnt have to remove the images or comment out any functions in the boxes.php.. if you do just delete the infobox images it will generate a number where the images should be . hope this helps

Posted
The way i did that was to make new transparent gif images and give them the same names as those images.. in the info box directory /catalog/images/infobox or something similar . corner_left.gif , corner_right.gif etc .... that why i didnt have to remove the images or comment out any functions in the boxes.php.. if you do just delete the infobox images it will generate a number where the images should be . hope this helps

 

I know I could always create a new image and replace them, but aren't the titles then moved over a little and not left aligned - unless I set the width and height to 1 pixel on the transparent gif?

 

There must be a way to delete the pictures without having a number come up.

 

Tell me where you were able to change the infobox image stuff.

 

 

Thanks!

Posted
I know I could always create a new image and replace them, but aren't the titles then moved over a little and not left aligned - unless I set the width and height to 1 pixel on the transparent gif?

 

There must be a way to delete the pictures without having a number come up.

 

Tell me where you were able to change the infobox image stuff.

Thanks!

 

in the boxes.php catalog/includes/classes/boxes.php

 

this chunk of code:

 

$info_box_contents = array();

$info_box_contents[] = array(array('params' => 'height="14" class="infoBoxHeading"',

'text' => tep_image(DIR_WS_IMAGES . 'infobox/corner_left.gif')),

array('params' => 'height="14" class="infoBoxHeading" width="100%"',

'text' => $contents[0]['text']),

array('params' => 'height="14" class="infoBoxHeading"',

'text' => tep_image(DIR_WS_IMAGES . 'infobox/corner_right_left.gif')));

 

i tried commenting this out but im sure it left a number where the image should have been. if you make transparent images of the same dimensions it shouldnt shift the headers over.

Posted
in the boxes.php catalog/includes/classes/boxes.php

 

this chunk of code:

 

$info_box_contents = array();

$info_box_contents[] = array(array('params' => 'height="14" class="infoBoxHeading"',

'text' => tep_image(DIR_WS_IMAGES . 'infobox/corner_left.gif')),

array('params' => 'height="14" class="infoBoxHeading" width="100%"',

'text' => $contents[0]['text']),

array('params' => 'height="14" class="infoBoxHeading"',

'text' => tep_image(DIR_WS_IMAGES . 'infobox/corner_right_left.gif')));

 

i tried commenting this out but im sure it left a number where the image should have been. if you make transparent images of the same dimensions it shouldnt shift the headers over.

 

 

 

Thanks alxb, I'll try this later

Archived

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

×
×
  • Create New...