Foros de discusión

Removing the Multiple File Uploader

Mike Cunneen, modificado hace 15 años.

Removing the Multiple File Uploader

Junior Member Mensajes: 55 Fecha de incorporación: 21/11/08 Mensajes recientes
Hi,

Is there a way where you can switch off / remove the multiple file uploader. We would rather use the classic uploader as not all of our users will have the latest version of flash and they are often using PCs where they cannot install it.

I basically want just the classic uploader.

Any advice would be much appreciated.

Regards,

Mike
Jody Braaten, modificado hace 15 años.

RE: Removing the Multiple File Uploader

New Member Mensajes: 5 Fecha de incorporación: 13/11/08 Mensajes recientes
Hi,

We have the same requirement, for the same reason. We're you able to come up with a solution for removing the 'new' uploader?

Thanks,

Jody
Mike Cunneen, modificado hace 15 años.

RE: Removing the Multiple File Uploader

Junior Member Mensajes: 55 Fecha de incorporación: 21/11/08 Mensajes recientes
Hi,

I couldn't get rid of it from the web page - it was impossible. I tried removing the swf file but that didnt work.

What I did was I went into this directory: \webapps\ROOT\html\js\misc\swfupload and then opened the swfupload.js file and changed the following line from:

this.ensureDefault("button_disabled", false);

to

this.ensureDefault("button_disabled", true);

By making the disabled property = true, it means nothing happens when you click on it. It is not the perfect solution but its the best I could get.

There should be a way of removing though because the flash uploader is very unrealiable.

Play around with the js file and you might be able to hide it, Im just under time pressure.

If you do figure it out please let me know.

Hope this helps!

Mike
Jody Braaten, modificado hace 15 años.

RE: Removing the Multiple File Uploader

New Member Mensajes: 5 Fecha de incorporación: 13/11/08 Mensajes recientes
Hi Mike,

Thanks for the tip, but I was able to remove it from the Document Library portlet.

I edited \webapps\ROOT\html\portlet\document_library\edit_file_entry.jsp and commented out the lines relating to the dynamic uploader:

<!-- <div class="lfr-dynamic-uploader">
<div class="lfr-upload-container" id="<portlet:namespace />fileUpload"></div>
</div>

<div class="lfr-fallback" id="<portlet:namespace />fallback">-->

Now when I click on 'Add Document' within the Document Library, it goes directly to the classic uploader page.

Hope this helps you out!

Jody
Mike Cunneen, modificado hace 15 años.

RE: Removing the Multiple File Uploader

Junior Member Mensajes: 55 Fecha de incorporación: 21/11/08 Mensajes recientes
Hi Jody,

Thanks for the advice, works perfectly now!! So hard to find a solution for this problem!!

Thanks man,

Mike
thumbnail
srikanth arroju, modificado hace 13 años.

RE: Removing the Multiple File Uploader

Regular Member Mensajes: 133 Fecha de incorporación: 3/10/09 Mensajes recientes
thanks
Christopher E, modificado hace 12 años.

RE: Removing the Multiple File Uploader

Junior Member Mensajes: 33 Fecha de incorporación: 9/08/11 Mensajes recientes
Hey everybody,

here is a short addition.

<!-- <div class="lfr-dynamic-uploader">
<div class="lfr-upload-container" id="<portlet:namespace />fileUpload"></div>
</div>

<div class="lfr-fallback" id="<portlet:namespace />fallback">-->


this works fine but you have to open the div container again: <div> otherwise your HTML is no longer correct.

greetings,
Chris