This topic is locked

Truncate HTML

9/12/2007 10:35:51 AM
PHPRunner General questions
O
ombilicus author

Hi,

sorry I already posted this in an old post, but need a solution quickly.

so here goes.
I use phprunner to build CMS's for use exclusively in Flash so HTML formatting is limited to BOLD AND ITALIC.

I would be willing to risk the script truncating the text on a html tag while still using RTE. I prefer not having the list page scroll indefinitely...

I couldn't figure out where in the processLargeText function I could bypass this.

Please let me know if and how I could do this.

Thanks.
Maybe a temporary workaround would be to strip all TAGS from the text string. That way we could set VIEW AS to blank instead of HTML but avoid seeing the tags written in the list page text area. Just an idea.

Sergey Kornilov admin 9/12/2007

I would suggest to use "View as" type "Custom".
In this case you can strip HTML tags and truncate the text easily.