# |
Oct 22nd 2009, 15:10 |
jessica-m |
excuse my language |
# |
Oct 22nd 2009, 15:10 |
jessica-m |
ok my shit is fucked up |
# |
Oct 22nd 2009, 15:09 |
jessica-m |
because for some reason, i can add groups, but it wont delete them |
# |
Oct 22nd 2009, 15:09 |
jessica-m |
ok thats what i am asking |
# |
Oct 22nd 2009, 15:09 |
dogmatic69 |
cake habtm does a delete first and then save if that is what you are asking |
# |
Oct 22nd 2009, 15:08 |
jessica-m |
if i try to save a group to that table for that user, will it delete both of those groups beforehand? |
# |
Oct 22nd 2009, 15:08 |
jessica-m |
basically i have an acl, and have a user assigned to two groups in users_groups |
# |
Oct 22nd 2009, 15:08 |
dogmatic69 |
jessica-m: w00t you wanna do? |
# |
Oct 22nd 2009, 15:07 |
dogmatic69 |
your invoice is in the post :P |
# |
Oct 22nd 2009, 15:07 |
jessica-m |
anyone know? |
# |
Oct 22nd 2009, 15:07 |
dogmatic69 |
np |
# |
Oct 22nd 2009, 15:05 |
dogmatic69 |
\o/ |
# |
Oct 22nd 2009, 15:05 |
dogmatic69 |
you got it now? |
# |
Oct 22nd 2009, 15:05 |
dogmatic69 |
alan|macbook: what ver you using |
# |
Oct 22nd 2009, 15:04 |
markstory |
I know alkemann, Phally and ADmad were working on it. |
# |
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 |