Hi,
i have set up an 'image' field on 'products' table in a database. Fuel has then added an Image field to upload an image from the create form. The question is how can upload multiple images instead of just one field? Do I have to create a products_to_images table or something similar to tell Fuel to add more than one field?
Thanks in advance!
Comments
// in your models form_fields() method $fields['image']['class'] = 'multifile';
http://www.getfuelcms.com/user_guide/modules/forms
Another question How can I filter a field for example so it can be stored in db as sha1? And to customize an INSERT so i can tell fuel to store NOW() for the date field?
Thanks for you support. I love FUEL.
http://www.getfuelcms.com/user_guide/libraries/my_model (at the bottom of the page).