Log message #114705

# At Username Text
# 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
# Aug 10th 2008, 01:59 Bobby oh you must set it?
# Aug 10th 2008, 01:56 Bloc either smtp or sendmail
# Aug 10th 2008, 01:56 Bloc have u set the transport method?
# Aug 10th 2008, 01:55 Bobby Hi does anyone know if I have to do anything special to get the built in email component to work? like use a specific mailer class? or something? because its currently not working right now and it's not giving any errors, its just returning false on Email->send() and it's not sending
# Aug 10th 2008, 01:52 andresmh i want to build a simple website that lets users upload pictures and be able to post comments about pictures. kind of like a simple version of flickr. are there any modules or apps in cake for this?
# Aug 10th 2008, 01:10 stabb ACTION goes slideshow crazy
# Aug 10th 2008, 00:44 tomas- thanks
# Aug 10th 2008, 00:43 tomas- Veracious, yeah it will
# Aug 10th 2008, 00:43 Veracious dunno if that's good or not though but should work
# Aug 10th 2008, 00:43 tomas- Veracious, yeah if i have to... =(
# Aug 10th 2008, 00:42 Veracious tomas-: how about: $this->redirect("/controller/action/$id") ?
# Aug 10th 2008, 00:41 darki okay ;)
# Aug 10th 2008, 00:41 Veracious in my code it's $role
# Aug 10th 2008, 00:41 Veracious argh, that role is just any variable
# Aug 10th 2008, 00:40 tomas- $this->redirect(array('action'=>'edit')); # Where would $id go?
# Aug 10th 2008, 00:40 darki great thanx :)
# Aug 10th 2008, 00:40 Veracious before the Model2->save() use this: role = $this->Model1->findByField($value) to get the knewly added data from the database
# Aug 10th 2008, 00:40 tomas- how can i specify parameters to the 'redirect()' method given an array list of 'controller','action',etc? i need to append values to the pathinfo, not sure how