File Upload Type Filtering in FaclieForms / Breezing Forms - Breezing Forms / FacileForms how to's

Here is how to use global php variables in your Breezing Forms / FacileForms form.

Home Joomla - VirtueMart Breezing Forms / FacileForms File Upload Type Filtering in FaclieForms / Breezing Forms
File Upload Type Filtering in FaclieForms / Breezing Forms
  • Joomla 1.5
  • Breezing Forms/
    FacileForms

If you use the ClassicMode to build your forms in Breezing Forms / FacileForms you'll have noticed there's no way to filter your filetypes in the File Upload.
Here is how to use the Javascript code already present in QuickMode Breezing Forms / FacileForms.



Breezing Forms / FacileForms form upload


Open the form upload dialog and fill in a comma seperated list of your allowed file types.

Then here comes the hack to make it work.
Go to components/com_facileforms/facileforms.process.php and around line 1924 change the code to the following...





#if ($row->type=='File Upload' && trim($this->formrow->template_code) != '') {
if ($row->type=='File Upload') {

Now the javascript file type checking will work!

Breezing Forms / FacileForms file type filtering

Last Updated on Sunday, 13 February 2011 10:13
 

Latest Articles

VirtueMart
Your Cart is currently empty.

Paypal Donation

If you use this module on your site please donate a small amount.
Any donation amount appreciated.



File Upload Type Filtering in FaclieForms / Breezing Forms|Breezing Forms / FacileForms how to's



Here is how to use global php variables in your Breezing Forms / FacileForms form.


facileforms, file, forms, upload, type, breezing, code, work, use, javascript, row, components, checking, template, hack, comes, process, line, trim, types, formrow, change, following, php, dialog, noticed, filter, build, joomla, classicmode, filetypes, present, seperated, list, comma, form, quickmode, open, allowed


guru

We use cookies to improve our website and your experience when using it. Cookies used for the essential operation of the site have already been set.
To find out more about the cookies we use and how to delete them, see our privacy policy.

I accept cookies from this site.