# |
Oct 22nd 2009, 15:03 |
markstory |
or the hands that are around don't have enough time. |
# |
Oct 22nd 2009, 15:03 |
markstory |
but there are not enough hands around to finish it. |
# |
Oct 22nd 2009, 15:02 |
markstory |
joeb: its planned. |
# |
Oct 22nd 2009, 15:01 |
jessica-m |
if i want to remove a user from a group in acl, so i do $this->data['Group][0] => 5 save, if there are other groups in the table for that user, will they be removed first? |
# |
Oct 22nd 2009, 15:00 |
alan|macbook |
At last i'm freeeeee :D |
# |
Oct 22nd 2009, 14:58 |
alan|macbook |
your were close :) |
# |
Oct 22nd 2009, 14:58 |
alan|macbook |
dogmatic69 : i had to use <?php echo $tree->generate($stuff, array('alias' => 'title'));?> |
# |
Oct 22nd 2009, 14:57 |
alan|macbook |
dogmatic69 : It works !!!!! |
# |
Oct 22nd 2009, 14:53 |
t0nic |
dogmatic69 found the answer Joaquin Windmüller at http://is.gd/4wluH |
# |
Oct 22nd 2009, 14:50 |
joeb |
Did someone say that the bakery was getting redone or am I just hearing things? |
# |
Oct 22nd 2009, 14:48 |
jessica-m |
isajax to the rescue |
# |
Oct 22nd 2009, 14:47 |
alan|macbook |
dogmatic69: could it come from cake's latest version ? |
# |
Oct 22nd 2009, 14:47 |
dogmatic69 |
i am sure it worked out the box for me |
# |
Oct 22nd 2009, 14:46 |
dogmatic69 |
alan|macbook: hmm |
# |
Oct 22nd 2009, 14:46 |
alan|macbook |
dogmatic69 : ok, i don't understand anything... your code doesn't work here... Still this f****** notice... |
# |
Oct 22nd 2009, 14:46 |
t0nic |
obviously I'm doing something wrong but I can't find any information on how to do what I'm trying to do (check for *at least one* associated [HABTM] record submitted, without hardcoding associated records keys into validate::multiple) |
# |
Oct 22nd 2009, 14:44 |
jessica-m |
ok... but is there a way to tell? or no |
# |
Oct 22nd 2009, 14:44 |
t0nic |
This doesn't seem to work |
# |
Oct 22nd 2009, 14:44 |
joeb |
dogmatic69: It's not always 100% evil. |
# |
Oct 22nd 2009, 14:44 |
t0nic |
dogmatic69: http://bin.cakephp.org/view/894698067 |
# |
Oct 22nd 2009, 14:43 |
dogmatic69 |
jessica-m: i used it on my first project... now i just avoid requestAction like the plague |
# |
Oct 22nd 2009, 14:42 |
jessica-m |
i dont see it there either |
# |
Oct 22nd 2009, 14:42 |
jessica-m |
ok i checked api |
# |
Oct 22nd 2009, 14:42 |
tantalum |
I have a form with a couple of fiel fields but when I submit it the array with the file info is in two different formatas pasted at (http://bin.cakephp.org/view/1112765251), why is this happening? |
# |
Oct 22nd 2009, 14:41 |
joeb |
I heard that *all the time* in high school, too. |
# |
Oct 22nd 2009, 14:41 |
dogmatic69 |
all the *cool* kids use the api |
# |
Oct 22nd 2009, 14:41 |
dogmatic69 |
api > book |
# |
Oct 22nd 2009, 14:41 |
jessica-m |
not api |
# |
Oct 22nd 2009, 14:41 |
jessica-m |
i checked book |
# |
Oct 22nd 2009, 14:40 |
dogmatic69 |
jessica-m: did you check the api ? |
# |
Oct 22nd 2009, 14:39 |
hendlerman |
ADmad: thanks! I'll keep making changes until it's ready. :) |
# |
Oct 22nd 2009, 14:39 |
jessica-m |
how do i tell if an action is called via request action? |
# |
Oct 22nd 2009, 14:37 |
ADmad |
hendlerman: k.. will put it on my todo list :) |
# |
Oct 22nd 2009, 14:35 |
dogmatic69 |
t0nic: debug( $this->data ); and work it out |
# |
Oct 22nd 2009, 14:35 |
hendlerman |
I've gotten 4 other reviews of the article - made significant changes. Would be grateful for another look. |
# |
Oct 22nd 2009, 14:35 |
hendlerman |
ADmad: thanks |
# |
Oct 22nd 2009, 14:35 |
t0nic |
dogmatic 69 and I just specify "Tag" or 'tag' as the field? |
# |
Oct 22nd 2009, 14:34 |
dogmatic69 |
then validate => 'rule' => 'checkMultipul' |
# |
Oct 22nd 2009, 14:34 |
t0nic |
dogmatic69: thanks will try |
# |
Oct 22nd 2009, 14:34 |
ADmad |
hendlerman: yes in here |
# |
Oct 22nd 2009, 14:34 |
dogmatic69 |
or if you dont get that function checkMultipul( $data ){ return count( $this->data['SomeRelatedModel'] ) >= 1; } |