# |
Aug 7th 2008, 08:19 |
pgcd |
sokar =) |
# |
Aug 7th 2008, 08:19 |
sokar007 |
pgcd: i see what is cousing problem i have two forms one in other |
# |
Aug 7th 2008, 08:19 |
slartibartfast76 |
@altos: I have a subdomain for that project. |
# |
Aug 7th 2008, 08:19 |
fourcs |
what's the http for bin? |
# |
Aug 7th 2008, 08:19 |
pgcd |
sokar: this is what i'm using, and it works 100% - echo $form->create('Image', array('type'=>'file', 'action' => 'edit')); |
# |
Aug 7th 2008, 08:18 |
pgcd |
sokar: and you are positive that the form has the correct enctype in the html? |
# |
Aug 7th 2008, 08:18 |
pgcd |
yep, write |
# |
Aug 7th 2008, 08:18 |
fourcs |
Having problem getting radio button in a view. Have success using same code in one view but not in another. Can anyone give me some ideas? |
# |
Aug 7th 2008, 08:18 |
sokar007 |
pgcd: yes all fields ok but submittedfile only filename |
# |
Aug 7th 2008, 08:18 |
atula |
yep. that was it |
# |
Aug 7th 2008, 08:17 |
pgcd |
atula: might be write, actually =) |
# |
Aug 7th 2008, 08:16 |
atula |
pgcd: is it set or write ? |
# |
Aug 7th 2008, 08:16 |
altos |
Instead of virtualhosts |
# |
Aug 7th 2008, 08:16 |
altos |
slartibartfast76: If your host is using aliasing i found it screwed up cakephp entirely. |
# |
Aug 7th 2008, 08:16 |
pgcd |
atula =) |
# |
Aug 7th 2008, 08:16 |
slartibartfast76 |
Still having trouble with the URLs at my webspace. Local on my Maschine it works without htaccess Files. But on the webspace cake is still writing wrong URLs even without htaccess files. |
# |
Aug 7th 2008, 08:15 |
atula |
pgcd: thank you, pgcd ! |
# |
Aug 7th 2008, 08:14 |
pgcd |
sokar: and all the fields show up properly except for submittedfile? |
# |
Aug 7th 2008, 08:14 |
alkemann |
k |
# |
Aug 7th 2008, 08:14 |
pgcd |
atula: been there yesterday. use Configure::set('debug',0) in the action |
# |
Aug 7th 2008, 08:13 |
Coenraad |
•alkemann• wrong button, sorry (-; |
# |
Aug 7th 2008, 08:13 |
sokar007 |
pgcd: im doing print_r($this->data) |
# |
Aug 7th 2008, 08:13 |
alkemann |
Coenraad: yea? |
# |
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 |
pgcd |
sokar: did you try a full debug on this->data? |
# |
Aug 7th 2008, 08:12 |
pgcd |
tomas: add "false" as the last parameter in the call to link() |
# |
Aug 7th 2008, 08:12 |
sokar007 |
$this-data i have only filename |
# |
Aug 7th 2008, 08:12 |
pgcd |
sokar: in the controller, i think you can use $this->data |
# |
Aug 7th 2008, 08:11 |
sokar007 |
and in controller $this->params['form'] is empty array |
# |
Aug 7th 2008, 08:11 |
sokar007 |
pgcd: its my form echo $form->create('Document', array('action' => 'add', 'type'=>'file')); |
# |
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:08 |
pgcd |
sokar: if you create the form with type='file' cake will do it for you |
# |
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: 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 |