Paniagua
>
> 2010/7/26 Vinicius Núñez
>
> > I'd like to know how to paginate results using ajax, e.g., to paginate
> > comments of a post, as on youtube.
>
> > class Comments extends AppController {
> > var $name = 'Comments';
>
> > }
&g
I'd like to know how to paginate results using ajax, e.g., to paginate
comments of a post, as on youtube.
class Comments extends AppController {
var $name = 'Comments';
}
class Comment extends AppModel {
var $name = 'Comment';
}
class Posts extends AppController {
var $name = 'Posts';
}
clas
to your table. Hope this is what you wanted!
>
> On Jul 13, 8:39 am, Vinicius Núñez wrote:
>
> > I'm doing a rate comments system, and I don't know how to save the
> > dates in the data base. How you can see, I pass an id to the function,
> > which I rea
I'm doing a rate comments system, and I don't know how to save the
dates in the data base. How you can see, I pass an id to the function,
which I realize to use to save on the table comments_rate
comments (id, comment)
comments_rate (id, comment_id, rate)
$html->link('comments_rate', array('contr
Sorry for the late, Thanks!!!
On 8 jul, 11:49, Shaz wrote:
> User hasMany Post
> User hasMany Comment
>
> Post hasMany Comment
> Post belongsTo User
>
> Comment belongsTo Post
> Comment belongsTo User
>
> On Jul 6, 4:43 pm, Vinicius Núñez wrote:
>
> > H
How are you? Which way can I show a post, its comments, and users that
commented them? Do you know I'm talking about, don't you? The
following example does not work, or at least I don't know how
retrieving data I wait for answers, thank you very much!
Check out the new CakePHP Questions site h