Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can I modify design for "New Products for..."


jhdesign

Recommended Posts

I'd like to modify the design for the "New Products for June" box that appears on main page but have problems locating the file.

 

I'm using BTS and had no problem modifying the boxes design.

 

I'd also like to do the same for product listing.

 

Thanks!

Jacob

Link to comment
Share on other sites

In "new_products.php" how can I add a footer design (GIF file).

 

IE.

 

/ Header Design \

-------------------------------------

Content

-------------------------------------

\Footer Design /

 

I know I can control header thru Stylesheet.css but How do I add a gif footer to the boxes?

 

Regards,

Jacob

Link to comment
Share on other sites

try adding some code just before this part of the file new_products.php

 

new contentBox($info_box_contents);

 

 

add something like

 

<tr>

<td>

<img src = "tep_image(DIR_WS_IMAGES . $image_name, alt text, width, height)">

</td>

</tr>

 

hopefully, that should add a row to the bottom of the box

if you want a space before the image then put a <br> before the <tr>tag.

always here to offer some useless advice....

Link to comment
Share on other sites

i didn't mean paste exactly as above sorry

 

you need to replace the parameters in the

 

tep_image(DIR_WS_IMAGES . $image_name, $alt text, $width, $height)

 

function

 

probly easiest to set the variables before you run the query and then just use these variables in the query

should help you avoid the parse errors

 

eg

 

$images_name = "the name of the image";

$alt_text = "your alternative text for rollover";

$width = 100;

$height = 100;

 

tep_image(DIR_WS_IMAGES . $image_name, $alt text, $width, $height)

always here to offer some useless advice....

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...