Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding images with links to main page


Guest

Recommended Posts

Can anybody tell me how to add images with link to the center of my main page ?

 

<?php
/*
 $Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

define('TEXT_MAIN', 'Welcome to Prostar World');
define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');
define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

 

Does it go in this bit ? If so where and how ?

Link to comment
Share on other sites

That's not the correct page. It can be done from there but may cause confusion later on. It should go in the index.php file that is in your root directory. Use this code

<tr>
<td>
 <?php echo '<a title="some text" href="' . tep_href_link(FILENAME_DEFAULT, '', 'NONSSL') . '">' .  '<img border="0" src="images/some_image.jpg" alt="Some Text" width="154" height="85"> ' . '</a>'; ?>
</td>
</tr>

but change the various parts to suit your needs.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...