Hi folks

Using translatebehavior for text fields, great
Using meioupload for image upload, great

The two don't seem to mix, however.  In the Store controller:

        var $actsAs = array(
                'MeioUpload' => array(
            'header' => array(
                'fields' => '{field}_picture',
                                'dir' => 'store_images',
                'create_directory' => true,
                'allowed_mime' => array('image/jpeg', 'image/pjpeg',
'image/png', 'image/gif'),
                'allowed_ext' => array('.jpg', '.jpeg', '.png', '.gif'),
                'thumbsizes' => array(
                    'normal' => array('width'=>200, 'height'=>200),
                )
               // 'default' => 'default.jpg',
            )
        ),
                'Translate' => array('header'')
        );

I load index.ctp and get the error:
MeioUploadBehavior Error: The field "header" doesn't exists in the
model "Store". [APP/models/behaviors/meio_upload.php, line 213]
seems meioupload can't see the 'header' field because it's in the i18n
table.

any ideas? am I missing something obvious?

thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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