Danny74 Posted March 12, 2009 Share Posted March 12, 2009 I'm kinda frustrated, because I can't plug in text that I formated from Dreamweaver CS3 into my about_us.php, faq.php and conditions.php pages. I get an error everytime I add text. Currently, I'm using Rich Text Editor, but it's not working. How do I add simple formated text to these pages? With all the time I've wasted on trying to figure this out, I could have just used links to redirect customers to pages that I have built. The reason I was using Dreamweaver was to add book marked links within the page. I know it isn't the greatest tool for oscommerce. Can you recommend an editor? Thanks! Link to comment Share on other sites More sharing options...
germ Posted March 12, 2009 Share Posted March 12, 2009 Try this. In your /catalog/includes/languages/english/conditions.php Where it says: define('TEXT_INFORMATION', 'Put here your Conditions of Use information.'); Change it to something like this: define('TEXT_INFORMATION', <<<END ******** DELETE THIS LINE AND PUT YOUR HTML FROM DREAMWEAVER (OR WHATEVER) HERE ******** END ); With it like this you don't have to "escape" (put a \ before) the apostrophes. It's a lot 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...
Jack_mcs Posted March 12, 2009 Share Posted March 12, 2009 I'm kinda frustrated, because I can't plug in text that I formated from Dreamweaver CS3 into my about_us.php, faq.php and conditions.php pages. I get an error everytime I add text. Currently, I'm using Rich Text Editor, but it's not working. How do I add simple formated text to these pages? With all the time I've wasted on trying to figure this out, I could have just used links to redirect customers to pages that I have built. The reason I was using Dreamweaver was to add book marked links within the page. I know it isn't the greatest tool for oscommerce. Can you recommend an editor? Thanks! The Textmaster contribution (see MyAddons) adds an html editor to the admin section so you can edit the files and not have to worry about uploading them. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.