Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding image on left column


amestres

Recommended Posts

I want to add an image below the category menu on the left column. see website http://www.educationix.com

 

I am not a programmer but I can copy-paste!! Lets say I want to add the image called img.gif. Here is the code in my column_left.php file. What code do I add (please let me know if there is an easier way to do this, instead of modifying column_left.php). Thanks!!!!

 

<?php

/*

$Id: column_left.php,v 1.15 2003/07/01 14:34:54 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

if ((USE_CACHE == 'true') && empty($SID)) {

echo tep_cache_categories_box();

} else {

include(DIR_WS_BOXES . 'categories.php');

}

 

if ((USE_CACHE == 'true') && empty($SID)) {

echo tep_cache_manufacturers_box();

} else {

include(DIR_WS_BOXES . 'manufacturers.php');

}

 

require(DIR_WS_BOXES . 'whats_new.php');

require(DIR_WS_BOXES . 'search.php');

require(DIR_WS_BOXES . 'information.php');

?>

Link to comment
Share on other sites

To hard code the image you requested:

Open

includes/boxes/categories.php

 

add this (edit as needed)

 

<!-- Add Image/Box just under Category list -->

<tr><td width=199 align="center"><br>
<table width="100%" bgcolor="#FFFFD7" align="center" class="" cellpadding="1" border="0" cellspacing="3"><tr><td align="center">

<!-- Put Image Here -->
<img src="images/DVD-Magic.gif" alt="" border="0">

</td></tr></table>
</td></tr>

<!-- End Added Image/Box -->

 

To the very bottom of the page under

<!-- categories_eof //-->

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...