Log message #109093

# At Username Text
# Aug 7th 2008, 08:08 pgcd sokar: make sure your form's enctype is set to multipart/form-data
# Aug 7th 2008, 08:03 sokar007 hi, in cakephp manual http://book.cakephp.org/view/303/file-fields $this->data['Documents']['submittedfile'] is array with few few fields. i tried it and i have only filename - why ?
# Aug 7th 2008, 08:01 Coenraad •alkemann•
# Aug 7th 2008, 08:01 Kitara pm :)
# Aug 7th 2008, 08:01 tesh hi, I want to set a form input's class when a validation error occurs instead of setting a error value to display - how can this be done?
# Aug 7th 2008, 08:01 Coenraad depends
# Aug 7th 2008, 08:00 Coenraad gheeh
# Aug 7th 2008, 08:00 Kitara i help you you help me ? :P
# Aug 7th 2008, 08:00 Coenraad D
# Aug 7th 2008, 08:00 Coenraad RUN!
# Aug 7th 2008, 08:00 Coenraad omg
# Aug 7th 2008, 08:00 Kitara ACTION hits Coenraad with a hamer
# Aug 7th 2008, 07:59 Coenraad im having a problem with the Auth component, it isnt redirecting me properly after logging in even tho i set the $this->Auth->loginRedirect. Anybody who thinks he can help me out?
# Aug 7th 2008, 07:57 alkemann multiple files, image size, u name it
# Aug 7th 2008, 07:57 alkemann yea it is
# Aug 7th 2008, 07:57 lqdice__ looks nice
# Aug 7th 2008, 07:57 lqdice__ not sure what ill use yet.. ill take a look at it
# Aug 7th 2008, 07:57 lqdice__ that is pretty fancy
# Aug 7th 2008, 07:57 alkemann http://www.jupload.biz/ is nice
# Aug 7th 2008, 07:56 lqdice__ i think swf upload automatically chops the files up and uploads it
# Aug 7th 2008, 07:56 alkemann u got a java uploader for big files?
# Aug 7th 2008, 07:55 lqdice__ these files are gonna be huge.. up to 2gb
# Aug 7th 2008, 07:55 lqdice__ well I will still need the d/b to manage the access so it has to be in the db
# Aug 7th 2008, 07:55 alkemann u can save the files in the DB even
# Aug 7th 2008, 07:54 lqdice__ i guess I could though
# Aug 7th 2008, 07:54 lqdice__ i dont want it to run directly off the filesystem though
# Aug 7th 2008, 07:54 lqdice__ alkemann: this is for a file upload utility... it will even need to be able to sync back up from the filesystem so if someone drops a file in the system it enumerates it into the database
# Aug 7th 2008, 07:53 Ins|de lqdice__, i did it, changed from default to backoffice, and when i do $this->layout = 'backoffice'; it does not work..
# Aug 7th 2008, 07:53 alkemann you should try to make behavior for it so it can be reused
# Aug 7th 2008, 07:53 alkemann i look forward to seein how it turns out :)
# Aug 7th 2008, 07:53 lqdice__ alkemann: this will def be interesting
# Aug 7th 2008, 07:53 alkemann can even do it in view
# Aug 7th 2008, 07:52 lqdice__ Ins|de: you should be able to do it in app_controller beforeFilter
# Aug 7th 2008, 07:52 alkemann lqdice__: not that i recall atm
# Aug 7th 2008, 07:52 Ins|de hi there, i could change layout files with $this->layout variable right? can i do it on app_controller or just on the extended controller?
# Aug 7th 2008, 07:51 lqdice__ have you seen anyone do something like this before?
# Aug 7th 2008, 07:51 lqdice__ basically
# Aug 7th 2008, 07:51 lqdice__ the SQL will have to dig all the way to the leaf and if I have access to the leaf, give access to the parent
# Aug 7th 2008, 07:51 alkemann it will be a little complicated, but should be doable
# Aug 7th 2008, 07:50 lqdice__ well I also have to put conditions to make sure the user has access to it (which is the part im worried about)
# Aug 7th 2008, 07:50 alkemann u do $tree = $this->Folder->find('threaded'); $folder = $this->Folder->find($id); the first with recursive -1 and the second with 1