Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Alternate index.php


dingerkingh

Recommended Posts

Posted

Hey Guys,

 

I am trying to create an alternate page. I want to just copy my index.php file and have it pull different information out from a copy of the index.php file in the includes/languages folder. So, essentially it would be index2.php pulling the info out of index2.php. However - I am not sure how to up date the non-include php file to pull information out of the include index2.php file rather than the original. I hope this makes sense.

 

Originally

 

Index.php ----> Include Index.php

 

Copied both files and named them index2.php

 

Index2.php ------> still pulling info from Include Index.php

 

Want

Index2.php ------> Pull info from Include Index2.php

Posted
Hey Guys,

 

I am trying to create an alternate page. I want to just copy my index.php file and have it pull different information out from a copy of the index.php file in the includes/languages folder. So, essentially it would be index2.php pulling the info out of index2.php. However - I am not sure how to up date the non-include php file to pull information out of the include index2.php file rather than the original. I hope this makes sense.

 

Originally

 

Index.php ----> Include Index.php

 

Copied both files and named them index2.php

 

Index2.php ------> still pulling info from Include Index.php

 

Want

Index2.php ------> Pull info from Include Index2.php

 

 

 

You will have to change any links in index2 inside the files to make them link to index2, you have just copied it so why would the file be any different

cheers

Rusty

-------------------------------------------

Archived

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

×
×
  • Create New...