theherbman Posted February 9, 2009 Share Posted February 9, 2009 Is there any method of putting the terms and conditions onto the site without typing onto the php. Thanks Mel Link to comment Share on other sites More sharing options...
germ Posted February 9, 2009 Share Posted February 9, 2009 /catalog/includes/languages/[iNSERT YOUR LANGUAGE HERE]/conditions.php define('TEXT_INFORMATION', 'Put here your Conditions of Use information.'); If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
germ Posted February 10, 2009 Share Posted February 10, 2009 Here is a more user friendly way. Take for eample this: define('TEXT_INFORMATION', 'can't won't don't doesn't'); That would give you PHP errors. It should be: define('TEXT_INFORMATION', 'can\'t won\'t don\'t doesn\'t'); "Escaping" the apostrphes. FWRMedia posted a different way to do a define that ingnores the apostrophes. It would go like this: define('TEXT_INFORMATION', <<<END can't won't don't doesn't END ); I think basically you can put anything between <<<END and END And the PHP parser won't choke on it. I don't remember what he called it, but it's definitely more user friendly. :) If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
Guest Posted February 10, 2009 Share Posted February 10, 2009 Mel, Basically, you need to enter the text onto the privacy.php, conditions.php and shipping.php files located in catalog>includes>languages>english> at least once. If you already have those on your computer, you can copy and paste it as long as it is between the ' ' Chris Link to comment Share on other sites More sharing options...
theherbman Posted February 10, 2009 Author Share Posted February 10, 2009 Mel, Basically, you need to enter the text onto the privacy.php, conditions.php and shipping.php files located in catalog>includes>languages>english> at least once. If you already have those on your computer, you can copy and paste it as long as it is between the ' ' Chris Thanks for your help all done now. Mel Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.