Hi,
I'm having one problem as follows: In the user interface, I have to display the image, name, price and a summary of each product.
In summary I use substring () to cut string, because the summary I just want to display 1-2 lines. Meanwhile in the admin, the summary can be longer.
But if i use substring() to cut string, the error happens, it can shatter the frame, because while administrators in summary I use FCKEditor. As a summary I want them to be able to line break or change the font-family, font-size, ... should not be used textarea.
In summary they often copied from one site to another, so it's often born more tags. So if that tags cut the string, it will be missing, causing a rupture in the user interface framework.
So you have a way to help me handle the problem?
Thanks.