In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Relationship Graph View Issue ] Dependency Graph ]
related to child of duplicate of

Viewing Issue Simple Details
ID Category Type Reproducibility Date Submitted Last Update
0001089 [In-Portal CMS] Front End bug report always 2011-08-08 10:06 2011-09-19 16:08
Reporter alex View Status public  
Assigned To alex
Priority normal Resolution fixed  
Status closed      
Summary 0001089: Long text is clipped in the middle of the word
Description I have no any URL to give an example, but In-Portal has text clipping function, that allows any db field value to be clipped to a given length. For example not to break page layout by inserting very long text.

Here is how to use it:

<inp2:prefix_Field name="FieldName" cut_first="145"/>

This will return first 145 symbols of given field value. In case, when there is a middle of a word at 145th symbol, then word would be broken, e.g. "this is example of broken spl ...".

I'm attaching a patch, that would do same, but also will keep word integrity, like this: "this is example of broken ...".
Additional Information

Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker