Version 1.1.17.5612

I baked the MCVs for my "Bios" model with bake.  I am using a varchar
200 field to store the url to the image (image_url) so cake spits out
an $html->input for the image_url field.  I have a component handling
file sanitization and upload before save.  Basically, all I do is
change the $html->input to $html->file and then pass the resulting
array off to the component.  This works perfectly fine for another
model I have, but I cannot for the life of me get this to work on my
bios model.  The file field does not show up in the data array as it
does in my other model, but it shows up again when switched back to a
standard input field.

I have played around for a while and I just can't figure it out as my
controllers and views are quite similar across the 2 different
models.  Any ideas?

 <?php echo $html->file('Bio/image_url');?>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to