Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Index page issue


Digatle

Recommended Posts

Is there a way or some code that would enable me to make the index.php body (TEXT_MAIN) to be an <? include 'page.php' ?> so that if I want to change the text of the homepage all I have to do is change the page.php?

 

Digatle

Link to comment
Share on other sites

I haven't tried this myself so it's just a suggestion, but why not change the echo statement to

 

include_once("page.php");

 

On the other hand, you could also just modify TEXT_MAIN in /includes/languages/language/index.php.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...