Log message #114723

# At Username Text
# Aug 10th 2008, 04:11 NetersLandreau pgcd: bin you form view code
# Aug 10th 2008, 04:11 pgcd Neters: absolutely nothing, that's what bothers me
# 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:10 NetersLandreau pgcd: what is in $this->data?
# 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:07 NetersLandreau pgcd: are the files being saved correctly?
# 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:05 pgcd I have several fields that I need to save() along with the actual files
# 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:04 NetersLandreau what i mean by that is non-cakephp..
# 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:03 NetersLandreau auth can be daunting at first, but it is really a pussycay
# 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: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: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, 03:57 ammadsaleem no :(
# Aug 10th 2008, 03:55 pgcd Neters: thank you
# 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:50 darki is there a findBy method which gives me the biggest filed? i.e. ich have 49001 49002 and 49003 so this methid gives me 49003 and i can calculate ne next numer bei adding 1?
# Aug 10th 2008, 03:50 NetersLandreau moment pgcd.. there is a newer one out there for 1.2.. lemme see if i can locate it
# Aug 10th 2008, 03:50 pgcd so i'm doing it all by hand
# Aug 10th 2008, 03:49 pgcd Neters: i tried using James Revillini's one, but it's for cake1.1 and swfu1.x, and I'm using 1.2 with swfu2.1...
# Aug 10th 2008, 03:48 NetersLandreau pgcd: do you have a swfupload component, or something?
# Aug 10th 2008, 03:45 pgcd Neters: the stuff I set in SWFU with addPostParams gets POSTed correctly, but it seems cake ignores it when populating $this->data. right now, i'm trying adding [Model] to the name of the fields...
# Aug 10th 2008, 03:42 NetersLandreau pgcd: what is in $this->params['form']?
# Aug 10th 2008, 03:39 pgcd Neters: right now, my biggest issue is that I can't figure out how to have a populated $this->data in my controller. the stuff swfu sends ends up in $this->params['form'], and i can't seem to be able to use $model->save($this->params[form])
# Aug 10th 2008, 03:39 NetersLandreau ammadsaleem: are you using Auth?
# Aug 10th 2008, 03:37 NetersLandreau pgcd: ask
# Aug 10th 2008, 03:36 pgcd i suppose somebody here dealt with SWFupload?
# Aug 10th 2008, 03:33 NetersLandreau ammadsaleem1: are you using Auth?
# Aug 10th 2008, 03:30 pgcd_away morning all
# Aug 10th 2008, 03:00 skua with cache::write i made lot of different id. But now, how to make a cache::clear('Where id contain $foo') ?
# Aug 10th 2008, 02:51 ammadsaleem is there some simple way to do this in cake php?
# Aug 10th 2008, 02:51 ammadsaleem I want to remeber the url of the last page accessed by the user so that I can redirect the user after login to that page
# Aug 10th 2008, 02:48 ammadsaleem is there some simple way to do this in cake php
# Aug 10th 2008, 02:48 ammadsaleem I want to remeber the url of the last page accessed by the user so that I can redirect the user after login to that page
# Aug 10th 2008, 02:46 stabb ACTION sighs
# Aug 10th 2008, 02:16 Ins|de hi there, how can i set an url in a CSS relative to cake/img folder dinamicaly?
# Aug 10th 2008, 02:10 Bobby and it still isn't sending
# Aug 10th 2008, 02:10 Bobby so i've set delivery = 'mail' (cakephp 1.2)
# Aug 10th 2008, 01:59 Bobby ok, the manual didn't show that