Guest Posted December 14, 2012 Posted December 14, 2012 Hello I have this add on - http://addons.oscommerce.com/info/8536 and works good just one little problem I get the following show on the front end at the end of each line \r\n so it looks like the following 16 ml in each bottle\r\nLuxury Style Bottles\r\nAvailable in White, Clear, Peach, Purple, Red, Pink and Black I tried the support forum for it and no one is yet to reply so not sure if it is still active, I have sent a message to the developer but no reply yet, I did google it but no joy, oh sorry did try one way someone said by changing some coding the html_output.php file but didn't work Any ideas Sorry Ian
www.in.no Posted December 14, 2012 Posted December 14, 2012 @@ianhaney This is code for: \n = CR (Carriage Return) // Used as a new line character in Unix \r = LF (Line Feed) // Used as a new line character in Mac OS And if they are showing in the output they are properly not correctly escaped in the code, or wrong type of ' or " is used.
Guest Posted December 14, 2012 Posted December 14, 2012 ok cool any ideas how to fix it, im not sure if its in the product_info.php file or any other file like general.php or html_output.php file
www.in.no Posted December 14, 2012 Posted December 14, 2012 Not sure as i don't know that add on, but search through the code of the addon for /r /n as they should appear in the code as well. Most likley due to: single or double escalation marks Explained here: http://www.trans4mind.com/personal_development/phpTutorial/quotes.htm
Recommended Posts
Archived
This topic is now archived and is closed to further replies.