Introduction

Custom fields

PLUpload Joomla 4 integration as custom form field


You can add this custom field to any joomla components that support the joomla custom fields system and this will display a button for multiple file upload with the only size limit of the "Max. file size (MB)" param, or none if set to 0.
If you set "Multiple file upload" as "no", you will have a field for store the uploaded file name, and you can define another field as the destination target for de uploaded file.

In either cases the upload will be made with the plupload js library and plupload php upload handler for allow uploading of files with sizes many times bigger than the php upload limit permit. Even you can upload files of many GigaBytes in size.

You can also include this custom field in your component or any other extension.

The only need is to install the plugin, enable it, and add this to your extension
in the extension ".php" file before any call to render or show any form.

if(isdir(JPATHPLUGINS . '/fields/plupload')) {
Form::addFieldPath(JPATH_PLUGINS . '/fields/plupload/fields');
}

Integración de PLUpload como campo personalizado para joomla 4.

Puede añadir este campo personalizado a cualquier componente de Joomla que soporte el sistema de campos personalizados de joomla y se mostrará un botón para la subida múltiple de archivos con la única limitación de tamaño definida en el parámetro Tamaño máximo (MB) o ninguna si está establecido a 0.
Si se fija "Subida múltiple" como no, se obtendrá un campo en el que guardar el nombre del archivo subido, y se podrá definir otro campo como la ruta de destino del archivo subido.

En cualquiera de los casos la subida se realizará mediante la librería js plupload y el gestor de carga php de sus autores para permitir la subida de archivos de tamaños varias veces superiores a lo permitido por el límite de carga de php. Incluso podrá subir archivos de varios Gigabytes de tamaño.

Incluso se puede incluir el campo personalizado en su propio componente o extensión

Sólo hace falta instalar el complemento, activarlo y y añadir el código siguiente a su extensión en el archivo
".php" de la extensión, antes de cualquier llamada de generación o vista de cualquier formulario.

if(isdir(JPATHPLUGINS . '/fields/plupload')) {
Form::addFieldPath(JPATH_PLUGINS . '/fields/plupload/fields');
}

Functionality
Does not work in Joomla 3, same as J4.
Does not work in Joomla 3, same as J4.
Ease of use
It should be ease, but I don't know yet. Unfortunately...
It should be ease, but I don't know yet. Unfortunately...
I used this to: I wanted to apply it in the material.
I wanted to apply it in the material.
I wanted to apply it in the material.
I wanted to apply it in the material.

PLUpload for Joomla

Version:
2.1.0
Developer:
Manolo
Last updated:
Mar 23 2022
2 years ago
Date added:
Jun 03 2021
License:
AGPL
Type:
Free download
Includes:
p
Compatibility:
J4
Download

Uses Joomla! Update System

Score:


Write a review