Re: How to perform a find with HABTM relationship?

2013-04-03 Thread Leonhart
r any reply to this topic. I really appreciate your efforts. =] Il giorno mercoledì 3 aprile 2013 22:46:01 UTC+2, Salines ha scritto: > > I do not understand, What do you want to store in languages table? > > Look here: > http://book.cakephp.org/2.0/en/core-libraries/behaviors/translat

Re: How to perform a find with HABTM relationship?

2013-04-03 Thread Leonhart
Obviously, I meant "Languages_Posts" table. Sorry for the mistake :) -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this gro

How to perform a find with HABTM relationship?

2013-04-03 Thread Leonhart
How can I perform a find call if I've a Model linked to another one with the Has And Belongs To Many relation? The Models involved are "Post" and "Language". According to the Cake Conventions I've created and populated the Language_Post table. I want to find only the Posts with a specific langu

How to set a variable inside an extended Cake Class

2012-08-29 Thread Leonhart
ion for showing it inside the view? I really thank all of you for your suggests. Leonhart -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send

Entity Relationship: What's the best solution for CakePHP?

2012-07-30 Thread Leonhart
Hi guys ;) I hope I'm not abusing this group for a technical question. I'm kinda new in CakePHP and it's the first time I'm using it for a true-app development. I want to learn how to create the best suitable database for CakePHP and I'm stuck in the following scenario: I've a "Comments" table a