contao/test — Issue #2700: adding support for a own Ellipsis string
Author: LeoUnglaub
Created: 2011-11-29 10:08:48+00:00
State: open
Labels: Feature, framework

Hi Leo,
in the String class are two methods to shorten strings (substr and substrHtml). In the actual version the third parameter is a boolean to add the optional Ellipsis. But the Ellipsis is hardcored. Maybe it's possible to make this dynamic. I add you a patch file with a untested solution.

Greetings
Leo

[Download the attachments](http://www.contao.org/tl_files/tickets/2700.zip "Download the attachments of this ticket")

--- _Originally created on November 26th, 2010, at 09:31pm (ID 2700)_