jhdesign Posted June 1, 2004 Share Posted June 1, 2004 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 More sharing options...
gazzzzzza Posted June 2, 2004 Share Posted June 2, 2004 look in includes/modules/products_listing.php and includes/modules/new_products.php i think those are the two you are after :D always here to offer some useless advice.... Link to comment Share on other sites More sharing options...
jhdesign Posted June 2, 2004 Author Share Posted June 2, 2004 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 More sharing options...
gazzzzzza Posted June 2, 2004 Share Posted June 2, 2004 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 More sharing options...
jhdesign Posted June 3, 2004 Author Share Posted June 3, 2004 Didnt work. Got some PHP errors. Any other ideas? Link to comment Share on other sites More sharing options...
gazzzzzza Posted June 3, 2004 Share Posted June 3, 2004 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 More sharing options...
jhdesign Posted June 3, 2004 Author Share Posted June 3, 2004 I put it outside the php code section and it worked fine thanks for your time. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.