ontarget
Active Member
Hi
I have a site which requires several users to import csv data into a single list from the frontend.
It only takes one person to select "drop data" and remove everyone elses data - Ouch!
Here is a css solution added to your template.css file to remove the controls shown to users on the frontend:
Hope you find this useful - if there is another method of blocking these controls via Fabrik backend via ACL that would be great to know.
Thanks
I have a site which requires several users to import csv data into a single list from the frontend.
It only takes one person to select "drop data" and remove everyone elses data - Ouch!
Here is a css solution added to your template.css file to remove the controls shown to users on the frontend:
- Drop data
- Overwrite
- Format
- Field delimiter
- Tab delimiter
- Text delimiter
CSS:
/*Fabrik Import Controls */
#jform_drop_data-lbl{display:none;}
#jform_drop_data{display:none;}
#jform_overwrite-lbl{display:none;}
#jform_overwrite{display:none;}
#jform_inPutFormat-lbl{display:none;}
#jform_inPutFormat{display:none;}
#jform_field_delimiter-lbl{display:none;}
#jform_field_delimiter{display:none;}
#jform_tabdelimited-lbl{display:none;}
#jform_tabdelimited{display:none;}
#jform_text_delimiter-lbl{display:none;}
#jform_text_delimiter{display:none;}
Hope you find this useful - if there is another method of blocking these controls via Fabrik backend via ACL that would be great to know.
Thanks