File upload field in page creation problem.
I have created a layout to use to create pages through the cms admin. In the layout I have a couple of fields for images to be uploaded. However, if I go to edit the content of the page, the fields are blank and if I save the page without reuploading the images to those fields, it saves them as blanks. How do i get the cms to not overwrite saved image data unless a new image is uploaded? or at least pre populate the field with what is currently saved.
Comments
This is my layout code example:
$config['layout_fields']['landing_page'] = array(
'logo' => array('type' => 'file', 'description' => 'Logo')
);
http://docs.getfuelcms.com/general/forms#file