Re: limiting the character length of text I show in the view

2011-11-29 Thread Tomfox Wiranata
thats it!! thaanks!!!1 On 29 Nov., 03:03, dreamingmind wrote: > or even more specific to the problem is the Text Helper's truncate(). > > Don > > On Nov 28, 7:43 am, Tomfox Wiranata wrote: > > > > > Hi, > > > I am loading data in a div, that is often too short for the text > > length... > >

Re: limiting the character length of text I show in the view

2011-11-28 Thread dreamingmind
or even more specific to the problem is the Text Helper's truncate(). Don On Nov 28, 7:43 am, Tomfox Wiranata wrote: > Hi, > > I am loading data in a div, that is often too short for the text > length... > so the text goes beyond my div... now I would like to limit the text > in my view. I guess

Re: limiting the character length of text I show in the view

2011-11-28 Thread Jeremy Burns | Class Outfit
If you know how many characters you need you can user the Text helper excerpt() method: http://book.cakephp.org/view/1469/Text Jeremy Burns Class Outfit http://www.classoutfit.com On 28 Nov 2011, at 15:43, Tomfox Wiranata wrote: > Hi, > > I am loading data in a div, that is often too short fo

limiting the character length of text I show in the view

2011-11-28 Thread Tomfox Wiranata
Hi, I am loading data in a div, that is often too short for the text length... so the text goes beyond my div... now I would like to limit the text in my view. I guess its a CSS thing??? example: I get: CakePHP is a great thing for building websites I want: CakePHP is a great thing... making a