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
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
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
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
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
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
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
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
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"
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:
>
>
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
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
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
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
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
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 ?
>
;
> 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
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
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 =
19 matches
Mail list logo