Logs for

Page 132 of 211,281, showing 20 records out of 4,225,608 total, starting on record 2,621, ending on 2,640

# At Username Text
# Aug 7th 2008, 08:00 Kitara i help you you help me ? :P
# Aug 7th 2008, 08:00 Coenraad gheeh
# Aug 7th 2008, 08:01 Coenraad depends
# 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 Kitara pm :)
# Aug 7th 2008, 08:01 Coenraad •alkemann•
# 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:08 pgcd sokar: make sure your form's enctype is set to multipart/form-data
# Aug 7th 2008, 08:08 lqdice__ tesh: when there is an error i think it sets the class to error already
# Aug 7th 2008, 08:08 pgcd sokar: if you create the form with type='file' cake will do it for you
# Aug 7th 2008, 08:10 tomas- im trying to have an img placed inside an $html->link .... but its encoding it so it shows up literally.....any idea how i can fix it so it shows up properly? (as interpreted html)
# Aug 7th 2008, 08:11 sokar007 pgcd: its my form echo $form->create('Document', array('action' => 'add', 'type'=>'file'));
# Aug 7th 2008, 08:11 sokar007 and in controller $this->params['form'] is empty array
# Aug 7th 2008, 08:12 pgcd sokar: in the controller, i think you can use $this->data
# Aug 7th 2008, 08:12 sokar007 $this-data i have only filename
# Aug 7th 2008, 08:12 pgcd tomas: add "false" as the last parameter in the call to link()
# Aug 7th 2008, 08:13 pgcd sokar: did you try a full debug on this->data?
# Aug 7th 2008, 08:13 atula I was wondering, I have some views using ajax layout, but with the debug turns on... it's not parsing at all due to the extra html.... is there a way to tell debug to not show itself in ajax views ?
# Aug 7th 2008, 08:13 alkemann Coenraad: yea?
# Aug 7th 2008, 08:13 sokar007 pgcd: im doing print_r($this->data)