diyroberts Posted September 19, 2009 Posted September 19, 2009 Hi folks, When I'm adding a product to my website I may format the paragraphs (i.e leave lines in the text), but when I upload the product I loose all formatting I know why this happens but is there any way to stop this?? Is there any way of having a WYSIWYG box? Thanks in advance Will
peter222 Posted September 20, 2009 Posted September 20, 2009 install a html_editor contribution like tinyMCE ;)
MrPhil Posted September 20, 2009 Posted September 20, 2009 http://www.oscommerce.com/forums/index.php?showtopic=345148
diyroberts Posted September 21, 2009 Author Posted September 21, 2009 Also...If I added a WYSIWYG editor now, would the products that have already been entered have formatting?? If not, is there a way to do this?? Thanks Will
MrPhil Posted September 22, 2009 Posted September 22, 2009 No, already existing entries are in the database and would not be affected. One way to update these entries would be to manually edit each one. Another, if there are a huge number of them, would be to write some custom PHP/MySQL code to extract product descriptions, look for line-ends (carriage returns, or whatever way they're stored in the database), add <br> at that point, and save them back into the database. A big job either way, I'm afraid.
diyroberts Posted September 22, 2009 Author Posted September 22, 2009 No, already existing entries are in the database and would not be affected. One way to update these entries would be to manually edit each one. Another, if there are a huge number of them, would be to write some custom PHP/MySQL code to extract product descriptions, look for line-ends (carriage returns, or whatever way they're stored in the database), add <br> at that point, and save them back into the database. A big job either way, I'm afraid. OK, many thanks for your help
Recommended Posts
Archived
This topic is now archived and is closed to further replies.