# |
Aug 6th 2008, 14:48 |
teknoid |
jaredhoyt: :) not yet |
# |
Aug 6th 2008, 14:47 |
Raphael |
of tags |
# |
Aug 6th 2008, 14:47 |
Raphael |
$tags_ids is an array containing all ids |
# |
Aug 6th 2008, 14:47 |
jaredhoyt |
teknoid: you don't use a cdn?!? lol |
# |
Aug 6th 2008, 14:47 |
Raphael |
)); |
# |
Aug 6th 2008, 14:47 |
Raphael |
'Tag' => $tags_ids |
# |
Aug 6th 2008, 14:47 |
Raphael |
'Post' => array('id' => $id), |
# |
Aug 6th 2008, 14:47 |
Raphael |
$this->Post->save(array( |
# |
Aug 6th 2008, 14:45 |
Raphael |
How should I do ? |
# |
Aug 6th 2008, 14:45 |
Raphael |
but now, I would like to fill the order field too |
# |
Aug 6th 2008, 14:45 |
Raphael |
when I save the relation, all is fine |
# |
Aug 6th 2008, 14:45 |
Noise98 |
lqdice: you need a progress indicator ? |
# |
Aug 6th 2008, 14:45 |
Raphael |
post_id, tag_id, order |
# |
Aug 6th 2008, 14:45 |
Raphael |
In my PostsTags, I have 3 fields : |
# |
Aug 6th 2008, 14:45 |
lqdice____ |
Maniaman: its flash |
# |
Aug 6th 2008, 14:45 |
Noise98 |
swf is max 100 |
# |
Aug 6th 2008, 14:45 |
Maniaman |
havent ever tried with large files though |
# |
Aug 6th 2008, 14:45 |
Noise98 |
no |
# |
Aug 6th 2008, 14:45 |
Raphael |
I still have the same schema : Posts - PostsTags - Tags |
# |
Aug 6th 2008, 14:45 |
Maniaman |
i think you can change it |
# |
Aug 6th 2008, 14:44 |
lqdice____ |
Maniaman: swf has 100mb cap i believe |
# |
Aug 6th 2008, 14:44 |
Maniaman |
lqdice____: swfupload is the only thing i know of |
# |
Aug 6th 2008, 14:44 |
thestaff |
should i use ajax ? |
# |
Aug 6th 2008, 14:43 |
thestaff |
whta is the easiest way to do that ? |
# |
Aug 6th 2008, 14:43 |
teknoid |
jaredhoyt: i also got an f, for not using a cdn ... no sh*t :) |
# |
Aug 6th 2008, 14:43 |
thestaff |
cuz category is just a tilte |
# |
Aug 6th 2008, 14:43 |
Noise98 |
lqdice: depends on your web server |
# |
Aug 6th 2008, 14:43 |
thestaff |
and in the add view of this model I wanna be able to pop up for a new category |
# |
Aug 6th 2008, 14:43 |
thestaff |
basically I have a model that has a foreign key to categories |
# |
Aug 6th 2008, 14:42 |
thestaff |
I was wondering what is the method to create a small add pop up |
# |
Aug 6th 2008, 14:42 |
lqdice____ |
anyone know any upload components that allow file uploads up to 2gb and let you do multiple file upload ? |
# |
Aug 6th 2008, 14:42 |
thestaff |
hey there |
# |
Aug 6th 2008, 14:42 |
jaredhoyt |
heh, using yslow -- jquery is heavy :) |
# |
Aug 6th 2008, 14:40 |
ADmad |
Noise98: yes so in ur case task is saved and you get its id.. but it doesnt save attachment and hence no id for association |
# |
Aug 6th 2008, 14:37 |
Noise98 |
ADmad: seem to have a little mistake inside saveMulti, or i'm doing something wrong with my data being sent to save |
# |
Aug 6th 2008, 14:37 |
Noise98 |
ADmad: the saveMulti is being call after the Master record being save and the id is being pass to it, so it supposed to work |
# |
Aug 6th 2008, 14:35 |
ADmad |
Noise98: currently i don't think you cant set a habtm assoc between 2 new records... you need to first save one of them and then in a second call to 'save' save the other record and associate the two by passing proper data array.. |
# |
Aug 6th 2008, 14:35 |
Noise98 |
oh ok sorry |
# |
Aug 6th 2008, 14:35 |
teknoid |
Noise98: i didn't say there was a patch, i was saying that if you were to make one to make it work, that ticket would get a faster attention |
# |
Aug 6th 2008, 14:34 |
Noise98 |
teknoid: that's not a patch, and it got nothing to do with my problem... but thanks |
# |
Aug 6th 2008, 14:33 |
Jonah |
check out my trophies : http://book.cakephp.org/changes/user:poppitypop.rss |