Well, I modified the
jevcftext to my new
jevcfmedia by changing the function getInput() near line 163 to
$knopf = JRoute::_(WFBrowserHelper::getBrowserLink("input_file_for_url"));
$knopf = '<a title="File Browser" href="' . $knopf . '" class="tgs" rel="{handler: \'iframe\', size: {x: 800, y: 500}}">Auswählen</a>';
return $knopf . '<input readonly type="text" name="' . $this->name . '" id="input_file_for_url" value="'
. (substr(strtoupper(htmlspecialchars($this->value, ENT_COMPAT, 'UTF-8')), -3) == "PDF" ? htmlspecialchars($this->value, ENT_COMPAT, 'UTF-8') : "") . '"'
. $class . $size . $disabled . $readonly . $onchange . $maxLength . $placeholder. '/>';
this works fine
The only thing I need is the possibility to call the filebrowser by clicking a button instead a link.
...and I don't have any idea how to do this.
What about you?
regards,
Berndi