Re: new "With" Associations in a HABTM

2007-10-05 Thread Mech7
Yes i have read it and tried it, but the article uses the id, which is a bit like cheating.. i need to really get the actual data from the other table not just from the table in between :( I have tried and it does not seem to work with me, and about every article is very vague about ir or incompl

RE: new "With" Associations in a HABTM

2007-09-26 Thread Mariano Iglesias
sunto: Re: new "With" Associations in a HABTM When i try exactly the same as the example in the pdf, except Post is called Article i only get the results of the table in between? Has anybody else have this problem?: --~--~-~--~~~---~--~~ You received this message

Re: new "With" Associations in a HABTM

2007-09-26 Thread Mech7
When i try exactly the same as the example in the pdf, except Post is called Article i only get the results of the table in between? Has anybody else have this problem?: Array ( [0] => Array ( [TaggedArticle] => Array ( [article_id] => 3

Re: new "With" Associations in a HABTM

2007-09-20 Thread Mech7
Hmm i see so would it be good to use a hack like mentioned on the bakery, or is there a better solution? http://bakery.cakephp.org/articles/view/habtm-hacks-to-menage-columns-in-both-models On Sep 17, 3:40 am, "Chris Hartjes" <[EMAIL PROTECTED]> wrote: > On 9/16/07, Mech7 <[EMAIL PROTECTED]> wr

Re: new "With" Associations in a HABTM

2007-09-16 Thread Chris Hartjes
On 9/16/07, Mech7 <[EMAIL PROTECTED]> wrote: > > Yes i tried but something like: > > $this->set('articles', $this->paginate('Article', > array('Category.name' => $category_name))); Yes, that is true. Like I said, it's being worked on last I checked. -- Chris Hartjes Senior Developer Cake Dev

Re: new "With" Associations in a HABTM

2007-09-16 Thread Mech7
Yes i tried but something like: $this->set('articles', $this->paginate('Article', array('Category.name' => $category_name))); Will always throw up an error that there is no such field :( On Sep 15, 10:59 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote: > On 9/15/07, Mech7 <[EMAIL PROTECTED]> wro

Re: new "With" Associations in a HABTM

2007-09-15 Thread Chris Hartjes
On 9/15/07, Mech7 <[EMAIL PROTECTED]> wrote: > > Well from what i have read it is possible to search across HABTM so > you can have tag.name = 'php' as a parameter to search posts within > the post controller. Well, have you tried it? :) I'm not 100% if that has been implemented, but I'm 100% po

Re: new "With" Associations in a HABTM

2007-09-15 Thread Mech7
Well from what i have read it is possible to search across HABTM so you can have tag.name = 'php' as a parameter to search posts within the post controller. On Sep 15, 7:09 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote: > On 9/15/07, Mech7 <[EMAIL PROTECTED]> wrote: > > > > > But this only displa

Re: new "With" Associations in a HABTM

2007-09-15 Thread Chris Hartjes
On 9/15/07, Mech7 <[EMAIL PROTECTED]> wrote: > > But this only displays how to find the extra tags with it, but is > there also an explanation to select on the other table, so for example > specify which tags there should be in a post ? > What do you mean by "which tags there should be in a post"

Re: new "With" Associations in a HABTM

2007-09-15 Thread Mech7
But this only displays how to find the extra tags with it, but is there also an explanation to select on the other table, so for example specify which tags there should be in a post ? On Sep 15, 1:58 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote: > On 9/15/07, Mech7 <[EMAIL PROTECTED]> wrote: > >

Re: new "With" Associations in a HABTM

2007-09-15 Thread Chris Hartjes
On 9/15/07, Mech7 <[EMAIL PROTECTED]> wrote: > > Hmm well i have looked and it but it is not clear to me at all.. can > anybody please write a proper explanation for it preferable on the > bakery so it will be usefull for others too :) > http://www.littlehart.net/atthekeyboard/2007/09/04/a-glimps

Re: new "With" Associations in a HABTM

2007-09-15 Thread Mech7
Hmm well i have looked and it but it is not clear to me at all.. can anybody please write a proper explanation for it preferable on the bakery so it will be usefull for others too :) On Aug 22, 1:10 am, Marcin Domanski aka kabturek <[EMAIL PROTECTED]> wrote: > Ive read the pdf but i dont expect a

Re: new "With" Associations in a HABTM

2007-08-21 Thread Marcin Domanski aka kabturek
ach; > ?> > > You can access the date field from the posts_tags table right now, but > the beforesafe errors on saving a post and the Post and Tag are not > accessible from the view. > > Any further help would be appreciated ! > > Thanks in advance, > > Max > &g

Re: new "With" Associations in a HABTM

2007-08-21 Thread Mech7
This pdf looks handy :D am wondering too if this with is allready functional ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsu

Re: new "With" Associations in a HABTM

2007-08-20 Thread DLMax
Sorry Larry ;) I assumed it was you because I saw you posting the URL on IRC a couple of days ago Could you tell me if what we want do do is possible already or do I have to refresh my trac-timeline rss-feed like crazy ?? :D Thanks in advance, Max On 20 aug, 19:22, "Larry E. Masters aka Ph

Re: new "With" Associations in a HABTM

2007-08-20 Thread Larry E. Masters aka PhpNut
ing a post and the Post and Tag are not > accessible from the view. > > Any further help would be appreciated ! > > Thanks in advance, > > Max > > On 20 aug, 10:48, Marcin Domanski aka kabturek <[EMAIL PROTECTED]> > wrote: > > have you created the model ? >

Re: new "With" Associations in a HABTM

2007-08-20 Thread DLMax
; > On Aug 19, 5:04 pm, doekie <[EMAIL PROTECTED]> wrote: > > > In the OCPHP sheets (http://www.cakephp.org/files/OCPHP.pdf) there was > > an example of the use of the new "With" Associations in a HABTM. So it > > must be easy to get values out-of the join-table in C

Re: new "With" Associations in a HABTM

2007-08-20 Thread Marcin Domanski aka kabturek
have you created the model ? On Aug 19, 5:04 pm, doekie <[EMAIL PROTECTED]> wrote: > In the OCPHP sheets (http://www.cakephp.org/files/OCPHP.pdf) there was > an example of the use of the new "With" Associations in a HABTM. So it > must be easy to get values out-of the

new "With" Associations in a HABTM

2007-08-19 Thread doekie
In the OCPHP sheets (http://www.cakephp.org/files/OCPHP.pdf) there was an example of the use of the new "With" Associations in a HABTM. So it must be easy to get values out-of the join-table in CakePHP 1.2 var $hasAndBelongsToMany =