Guest Posted April 16, 2003 Share Posted April 16, 2003 ok first of i am an html kid never learned cgi or php just html, all i want to do right now is take away the default text on my store home page..... "This is a demonstration online-shop, any products purchased will not be delivered nor billed. Any information seen on these products are to be treated fictional. If you wish to download this sample shop, or to contribute to this project, please visit the support site. This shop is based on osCommerce 2.2-CVS." now i know this is probbly very simple but i have been trying to figure out how for 2 days now, how do i modify this text. I would also like to play with the colors and whatnot but for now just what above is the most important. anyone sees this and can help me feel free to icq or aim me. Thanks Jay Link to comment Share on other sites More sharing options...
Ajeh Posted April 16, 2003 Share Posted April 16, 2003 The way the files are set up ... You have code files and language files. Let's say you are on /catalog/default.php Anything that is text that you want changed would be found either in the main language file: /catalog/includes/languages/english.php Or in the language file that matches the page you are look at -- or -- a page that is inside that file and pulled in with an include(blah, blah) or require(blah blah) and these matching language files are in, for exampe, the match to default.php: /catalog/includes/languages/english/default.php If you do not find the constant (the thing you are looking for in uppercase) then it is in the configuration table. Files such as shipping modules ... The code is in /catalog/includes/modules/shipping/filename.php The text is in /catalog/includes/languages/english/modules/shipping/filename.php Note: I showed the locations for english ... the same is true for espanol and german ... or whatever languages you might have added. Link to comment Share on other sites More sharing options...
toolcrazy Posted April 16, 2003 Share Posted April 16, 2003 You may also want to take a look at: http://wiki.oscommerce.com Lots of wonderful information there. Steve ------------------------- Link to comment Share on other sites More sharing options...
Guest Posted April 16, 2003 Share Posted April 16, 2003 i did go there last night it is a wonderfull site but like i said i am like the worst possible person to be trying to do this php stuff, so all that i read/printed and read over and over again just gave me a hedache lol i kind of found my problem, and fixed it but now i get a hella error prob i will probbly just have to re-install sence i was too cocky to backup the file i edited :( Link to comment Share on other sites More sharing options...
toolcrazy Posted April 16, 2003 Share Posted April 16, 2003 I say don't just give up and re-install, you don't learn anything that way. Read your error message carfully and check out where the error is. If you don't understand, post the error. Try and work through the problems, you can't just re-install eveytime you create an error. You won't go anywhere, but end up with a stock OSC. We are here to help, If you want fast answers there is a search on the top of this page. And just about every single question has allready been answered. In short, KEEP TRYING. Steve ------------------------- Link to comment Share on other sites More sharing options...
Guest Posted April 16, 2003 Share Posted April 16, 2003 first off a huge thanks to Ajeh for helping me fix the prob thank you :lol: and to Toolcrazy for such a fast reply to this post. looks like this is a great place for help even for the "semi helpless" like myself lol Thanks guys hopefully i won't have to bug you all that often on simple things lol Jay Link to comment Share on other sites More sharing options...
Ajeh Posted April 16, 2003 Share Posted April 16, 2003 Now just master the type and stick in the ' in definitions and you have it made ... 8) You'd be amazed how many people trip over that the first time they start editing the language files. 8) Link to comment Share on other sites More sharing options...
toolcrazy Posted April 16, 2003 Share Posted April 16, 2003 Now just master the type and stick in the ' in definitions and you have it made ... 8) You'd be amazed how many people trip over that the first time they start editing the language files. 8) You don't know how many problems I've had with that darn escape char. Or omit a double or a single quote. Or forget a curly bracket. We've all done it once or twice, OK, I've done it a dozen or two. :D :D Steve ------------------------- Link to comment Share on other sites More sharing options...
Ajeh Posted April 16, 2003 Share Posted April 16, 2003 But ain't we getting good at identifying the problem? :roll: Link to comment Share on other sites More sharing options...
toolcrazy Posted April 16, 2003 Share Posted April 16, 2003 But ain't we getting good at identifying the problem? :roll: Yes we are, but a good editor doesn't hurt either. Steve ------------------------- Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.