Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

adding image or html to index.php


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 ...





Link to comment
Share on other sites

You would change


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




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


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




Link to comment
Share on other sites


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

  • Create New...