Guest Posted May 3, 2006 Posted May 3, 2006 Well I must admit this prodcut is pretty robust. The default layout is really nice and simple to look at. Although PHP is a bit overwhelming. So if anyone could please help with these small issues, I would be very happy indeed! On my main page, I managed to edit out all the demo text (luck). Now I still have "MAIN_TEXT" just sitting there with the other stuff that I want on the page. I cant find those words in the index.html :( How do I change the text in these following pages? PHP is so confusing compared to html. Shipping & Returns Privacy Notice Conditions of Use Contact Us When I open the files, I can not find the text to change. Well any help would be great. I can offer 4 tickets to our festival if the solution finder wants them... www.amaf.us
TammyD Posted May 3, 2006 Posted May 3, 2006 I am new to this as well, so I only have the answer to your last question. (It took me some searching to find it the other day) Go into the includes\languages\<selected language> folder to find the php files. They are not the ones in the main folder as you would expect. Hope this helps. Tammy
spax Posted May 3, 2006 Posted May 3, 2006 They are all in catalog/includes/languages/english/+whatever file The main page text:- catalog/includes/languages/english/index.php the part you have edited looks like this: define('TEXT_MAIN', 'YOUR TEXT IS HERE'); Make sure you have it like that. Also make sure with any text you edit, if you include apostrophes or quotes, you must escape them with a backslash \ If you don't you will get an error. e.g. define('TEXT_MAIN', 'O\'Reilly\'s Wife wouldn\'t bake a cake. \"It\'s not right!\" he exclaimed.'); The backslash tells PHP you want it to take the apostrophe/quote literally and not take it as the end of string. In the other files you wish to edit, shipping.php, privacy.php and conditions.php, the part you need is: define('TEXT_INFORMATION', 'Put here your Shipping & Returns information.'); Or it will say Conditions info or Privacy info, depending on what file you're editing.
butterflyfish Posted May 3, 2006 Posted May 3, 2006 Thank you! I was just looking for that answer, too. :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.