Oooooh! Another fabulous helper I just discoverd - ellipsize |
Just discovered this in the text helper,
http://www.codeigniter.com/user_guide/he...#ellipsize Wow, that has made my 'much too massive' urls suddenly fit beautifully. It was driving me mad that character_limiter was not working on the urls, and for the life of me I couldn't work it out until I noticed, Quote:" ..It maintains the integrity of words.. " Amazing how you skim read when you do not think you are. It dawned on me that a url is one word. And like magic the very next note was about ellipsize. Please don't deprecate the text helper :-) Note to self: Must take a closer look at all the helpers again! Just thought I would share, Best wishes, Paul. |
Messages In This Thread |
Oooooh! Another fabulous helper I just discoverd - ellipsize - by PaulD - 03-29-2016, 10:52 AM
RE: Oooooh! Another fabulous helper I just discoverd - ellipsize - by InsiteFX - 03-29-2016, 04:58 PM
RE: Oooooh! Another fabulous helper I just discoverd - ellipsize - by PaulD - 03-29-2016, 05:11 PM
RE: Oooooh! Another fabulous helper I just discoverd - ellipsize - by InsiteFX - 03-30-2016, 01:01 PM
RE: Oooooh! Another fabulous helper I just discoverd - ellipsize - by Avenirer - 03-31-2016, 06:48 AM
|