Re: paginate posts substring body which uses tinymce - do i substr in the paginate or at the view?

2011-01-03 Thread cricket
On Mon, Jan 3, 2011 at 9:36 AM, Jon Bennett wrote: >> i am so ignorant. >> >> http://book.cakephp.org/view/1625/truncate >> >> this is the solution and a great one. > > If the content comes from TinyMCE, it'll be html - so you could also > just strip off the first paragraph and show that in full,

Re: paginate posts substring body which uses tinymce - do i substr in the paginate or at the view?

2011-01-03 Thread Jon Bennett
> i am so ignorant. > > http://book.cakephp.org/view/1625/truncate > > this is the solution and a great one. If the content comes from TinyMCE, it'll be html - so you could also just strip off the first paragraph and show that in full, rather than show part of a paragraph, something like http://da

Re: paginate posts substring body which uses tinymce - do i substr in the paginate or at the view?

2011-01-03 Thread Zeu5
i am so ignorant. http://book.cakephp.org/view/1625/truncate this is the solution and a great one. On Jan 3, 8:25 pm, Zeu5 wrote: > Hi there, > > i have a cake webapp that includes a blog. > > the body of the blog posts uses tinymce so i can put in some HTML > coding for  the body of the post.

paginate posts substring body which uses tinymce - do i substr in the paginate or at the view?

2011-01-03 Thread Zeu5
Hi there, i have a cake webapp that includes a blog. the body of the blog posts uses tinymce so i can put in some HTML coding for the body of the post. At the index page of the blog, i do a posts/index which uses paginate(). Straight forward enough. here comes the problem. at the index, i am