Complementos¶
El sistema de complementos permite extender Galette con funciones especificas que no serían útiles para la mayoría de los usuarios. Los complementos incompatibles se desactivarán automáticamente, en cuyo caso deberías actualizar a una versión más reciente.
Cada plugin es una simple carpeta en {galette}/plugins/, consulta la documentación de cada complemento para instalarlo.
Existing plugins¶
The galette-plugins organization hosts all plugins. See how to add your plugin if you want yours to join.
Interfaz de gestión de complementos¶
Se suministra una interfaz de gestión de complementos, la encontrarás en el panel de control o en el menú de configuración. Tras haber descargado el/los complemento(s) en la carpeta plugins de Galette, se mostrará una lista:
Si el servidor web tiene acceso a tu carpeta de complementos, entonces podrás activar o desactivar cualquier complemento desde el icono relacionado.
Si el complemento necesita una base de datos para funcionar, puedes ejecutar el código de instalación y actualización desde la interfaz.
Se comprobarán las ACLs de la base de datos. A diferencia de Galette, no te pedirán información alguna, ya que todo está disponible desde tu instancia actual.
Distinto en la versión 1.3.0: Each plugin now has its own database version, and is updated on its own. The page lists the active plugins first, then the inactive ones, with the reason why they are inactive.
An icon next to the name of an inactive plugin tells why it is not active:
Not installed: the plugin needs database tables that have not been created yet. Click on the database icon of the Actions column to install them,
Need update: the plugin files are more recent than its database. Click on the database icon to run the update,
Explicitly disabled: the plugin has been disabled from this page, or from the command line. Click on the activation icon to enable it again,
Incompatible with current version: the plugin is made for another version of Galette; look for a more recent version of the plugin,
A required file is missing: the plugin files are incomplete; download the plugin again,
Database version missing: Galette cannot tell which version of the plugin database is installed.
The name of an active plugin opens a window with information about it: version, author, routes and access rights.
Advertencia
Back up your database before installing or updating a plugin database, as you would before updating Galette itself.