[solved]
put the extenstion you want in :
assets/image_crud/views/list.php
in the "creatUploader" function like that:
allowedExtensions: ['jpeg', 'jpg', 'png', 'gif','doc','zip','rar']
Now I have anew problem
i added a new textarea like "title field"
i made all the editing in liberary and list.php
but i can't follow the function that store the value in DB
the function in list.php is:
function saveTitle(data_id, data_title)
{
$.ajax({
url: '<?php echo $insert_title_url; ?>',
type: 'post',
data: {primary_key: data_id, value: data_title},
beforeSend: function()
{
$('.file-upload-messages-container:first').show();
$('.file-upload-message').html("<?php echo $this->l('saving_title');?>");
},
complete: function()
{
$('.file-upload-messages-container').hide();
$('.file-upload-message').html('');
}
});
}
what i need is to know what "<?php echo $this->l('saving_title');?>" mean
and where is the implementation of "saving_title" function.