element input type = file

Solution:
in plugins/fabrik_element/fileupload/fileupload.php, line 2169:
$str[] = $allRenders . '<input class="fabrikinput" name="' . $name . '" type="file" id="' . $id . '" />' . "\n";
by
$str[] = $allRenders . '<label class="btn fileContainer">Examinar<input class="fabrikinput" name="' . $name . '" type="file" id="' . $id . '" /></label>' . "\n";

and css
.fileContainer [type=file] {
opacity: 0;
position: absolute;
}
 
hmm I'm not keen on modifying this as it would mean the user has no idea of the filename that they selected.
If you don't like the standard upload then I suggest using the ajax upload which is its own widget.
 
It was an idea for the function in fileupload "WIP". Because when you open an image, automatically appears. No need to know the name of the image.
Thank You.
 
We are in need of some funding.
More details.

Thank you.
Back
Top