Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

adding image or html to index.php


andrewp

Recommended Posts

I want to add html to index.php around the define_text where the default text used to be. I've found inside the wiki docs on how to install a graphic, but I want to put a html file with a link to an image and make the index.php my featured products. can anyone guide me in this direction please, if possible provie the line of code needed to add the html to the index.php ...

 

 

thanks

--andrew

Link to comment
Share on other sites

You would change

 

<td class="main"><?php echo TEXT_MAIN; ?></td>

 

to

 

<td class="main"><?php require('main.html'); ?></td>

 

and then create a corresponding main.html file with all your good stuff in it.

 

HTH

Tom

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...