MICK29/30 Posted May 26, 2004 Posted May 26, 2004 I know i'm new at all this. I know how to write regular http, but not php. I can change things in includues/languages/english/index.php but not anywhere else. I would like to add things to Shipping & Returns, Privacy Policy...etc. Is there some other place that I need to go to change and add all this. Or is there something that I have to download to make these changes. Confused M p.s. I had a problem earlier with changing something in index.php, the heading title and all that. But now my page is telling me: Parse error: parse error in /home/wintunje/public_html/catalog/includes/languages/english/index.php on line 33 and so my pages for my items are just saying TABLE_HEADING_NEW_PRODUCTS HELP!!!
nrlatsha Posted May 27, 2004 Posted May 27, 2004 In the same place you found index.php (cat/includes/lang/eng/*.*) you can find conditions.php and privacy.php and all the other files you'll need to "customize" for your site. Its all straightforward, the lang/filename corresponds to the filename that is calling it, IE index.php calls lang/index.php, so on and so forth. Parse error: Sounds like you missed a semi, comma, or apostrophe ( ; , ' ) somewhere. define ( ' SOMETHING ' , ' Blah blah blabbity blah ' ) ; *extra spaces are there so you can see what each line needs. So the the file says: <?php echo SOMETHING; ?> Surf to it it says: Blah blah blabbity blah HTH 9 times out of 10 its a PEBCAK Error (Problem exists between chair and keyboard) Replace that and you're fine...
Paycheck Posted May 27, 2004 Posted May 27, 2004 In the same place you found index.php (cat/includes/lang/eng/*.*) you can find conditions.php and privacy.php and all the other files you'll need to "customize" for your site. Its all straightforward, the lang/filename corresponds to the filename that is calling it, IE index.php calls lang/index.php, so on and so forth. Parse error: Sounds like you missed a semi, comma, or apostrophe ( ; , ' ) somewhere. define ( ' SOMETHING ' , ' Blah blah blabbity blah ' ) ; *extra spaces are there so you can see what each line needs. So the the file says: <?php echo SOMETHING; ?> Surf to it it says: Blah blah blabbity blah HTH More simply put for the laehman out there, go to your catalog/includes/languages/english/privacy.php or conditions.php or shipping.php and make the necessary changes to those files for your specific cart needs. JM Always remember, we need patience, guidance and most of all understanding. My Contributions
Paycheck Posted May 27, 2004 Posted May 27, 2004 I know i'm new at all this. I know how to write regular http, but not php. I can change things in includues/languages/english/index.php but not anywhere else. I would like to add things to Shipping & Returns, Privacy Policy...etc. Is there some other place that I need to go to change and add all this. Or is there something that I have to download to make these changes. Confused M p.s. I had a problem earlier with changing something in index.php, the heading title and all that. But now my page is telling me: Parse error: parse error in /home/wintunje/public_html/catalog/includes/languages/english/index.php on line 33 and so my pages for my items are just saying TABLE_HEADING_NEW_PRODUCTS HELP!!! You either deleted one of the ' marks in the string, i.e. define('TEXT_INFORMATION', 'text goes here'); or you did the fatal error of not deliniating the apostrophe in a word, i.e. define('TEXT_INFORMATION', 'Hi there all you great people's'); should be define('TEXT_INFORMATION', 'Hi there all you great people\'s'); Good luck JM Always remember, we need patience, guidance and most of all understanding. My Contributions
sinryder Posted May 27, 2004 Posted May 27, 2004 Parse error: parse error in /home/wintunje/public_html/catalog/includes/languages/english/index.php on line 33 and so my pages for my items are just saying TABLE_HEADING_NEW_PRODUCTS HELP!!! hey MICK29/30 i was having the same problem and a friend of mine gave me this link http://www.builtcart.com/editindex.html just go there and follow the directions , it really helped me.
price351 Posted May 27, 2004 Posted May 27, 2004 Big Thanks to Paycheck, Thanks for not spamming the forums...
Paycheck Posted May 27, 2004 Posted May 27, 2004 No worries glad I could use some of my screw ups to help another OSC user. Call on me anytime with whatever. JM Always remember, we need patience, guidance and most of all understanding. My Contributions
Recommended Posts
Archived
This topic is now archived and is closed to further replies.