Page 413 of 211,273, showing 20 records out of 4,225,455 total, starting on record 8,241, ending on 8,260
# | Username | Text | |
---|---|---|---|
# | Aug 10th 2008, 03:52 | darki | or do i have to order them desc and just take the first one to get the biggest? |
# | Aug 10th 2008, 03:55 | pgcd | Neters: thank you |
# | Aug 10th 2008, 03:57 | ammadsaleem | no :( |
# | Aug 10th 2008, 04:00 | NetersLandreau | pgcd: it does appear that revillini's code is the method being used.. even tho it was created for cake 1.1, the component logic is basically the same and it works for 1.2 |
# | Aug 10th 2008, 04:02 | NetersLandreau | ammadsaleem: if you implement the auth component, redirecting a user back to the page they were looking at prior to the login is, pardon the expression, cake ;) |
# | Aug 10th 2008, 04:02 | pgcd | Neters: then I'm doing something seriously wrong, because revillini's code is not working at all for me... =| |
# | Aug 10th 2008, 04:03 | NetersLandreau | auth can be daunting at first, but it is really a pussycay |
# | Aug 10th 2008, 04:03 | NetersLandreau | pgcd: do you have a firm grasp of what is going on with a file upload at the basic level? |
# | Aug 10th 2008, 04:04 | NetersLandreau | what i mean by that is non-cakephp.. |
# | Aug 10th 2008, 04:04 | pgcd | Neters: I used to think so =) now I'm not so sure... anyway - the uploading part is fine; what I can't use is the rest of the data in the form |
# | Aug 10th 2008, 04:05 | pgcd | I have several fields that I need to save() along with the actual files |
# | Aug 10th 2008, 04:06 | NetersLandreau | swfupload is mainly for your files.. the rest of the data is handled outside the component |
# | Aug 10th 2008, 04:07 | NetersLandreau | pgcd: are the files being saved correctly? |
# | Aug 10th 2008, 04:10 | pgcd | Neters: the actual files are copied to the right directory etc, yes. The problem is that I also have a caption and a foreignId (and some more stuff), and I wanted to store them in the database for each file, but the data gets passed as $this->params[form], as opposed to $this-data, and cake doesn't recognize $model->save($this->params[form]) |
# | Aug 10th 2008, 04:10 | NetersLandreau | pgcd: what is in $this->data? |
# | Aug 10th 2008, 04:11 | pgcd | i suppose I could start from scratch and employ a completely different logic - something like, uploading all the files and generating all the required fields/forms to save the stuff |
# | Aug 10th 2008, 04:11 | pgcd | Neters: absolutely nothing, that's what bothers me |
# | Aug 10th 2008, 04:11 | NetersLandreau | pgcd: bin you form view code |
# | Aug 10th 2008, 04:11 | pgcd | Neters: and that even if i set the post_params in swfu to names like data[Image][foreign_id] |
# | Aug 10th 2008, 04:11 | pgcd | here i go - please keep in mind it's a work in progress =) |