Guest Posted August 2, 2006 Share Posted August 2, 2006 Here's my crazy idea, if only I could make an html page with my custom storefront text, then call it as an include inside: define('TEXT_MAIN", include("storefront.php")); So far it works, but it adds the include on the top of the whole index.php instead of putting it in the area where the welcome message is supposed to be. Any help to improve this or I am just asking for too much? Link to comment Share on other sites More sharing options...
brianstorm Posted August 2, 2006 Share Posted August 2, 2006 why not just edit the text in oscommerce? (in /includes/languages/english.php i think)... with ten thousand dollars we'll all be millionaires Link to comment Share on other sites More sharing options...
Guest Posted August 2, 2006 Share Posted August 2, 2006 why not just edit the text in oscommerce? (in /includes/languages/english.php i think)... Because I will have many entities collaborating in the shopping cart and that front page will change items, text, promotions etc. at least once a week, so you can understand that I don't want other co-workers going to the core file and increasing the chance of messing up the code. An include would allow me to ask them to upload a PHP or HTML file and then that would be the new front end. Link to comment Share on other sites More sharing options...
rabbitseffort Posted August 2, 2006 Share Posted August 2, 2006 there is a define mainpage contribution which is pretty much what you want "I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings." ---Margaret Mead--- "The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer. --Ken Kesey" Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.