Skip to content

DatabayAG/FileUploadCopyrightConfirmation

Repository files navigation

UserInterfaceHook Plugin - FileUploadCopyrightConfirmation

Requirements

Component Version(s) Link
PHP PHP
ILIAS to ILIAS


Installation

  1. Clone this repository to Customizing/global/plugins/Services/UIComponent/UserInterfaceHook/FileUploadCopyrightConfirmation
  2. Install the Composer dependencies
    cd Customizing/global/plugins/Services/UIComponent/UserInterfaceHook/FileUploadCopyrightConfirmation
    composer install --no-dev
    Developers MUST omit the --no-dev argument.
  3. Login to ILIAS with an administrator account (e.g. root)
  4. Select Plugins in Extending ILIAS inside the Administration main menu.
  5. Search for the FileUploadCopyrightConfirmation plugin in the list of plugin and choose Install from the Actions drop-down.
  6. Choose Activate from the Actions dropdown.

Patch (Not Mandatory)

In order to prevent manipulation of the form or checkbox added by the plugin, patches are required for the several different file upload variants.

Patches should be applied from the root ilias directory.

cd /var/www/<ilias installation path>

Apply each patch individually

git apply Customizing/global/plugins/Services/UIComponent/UserInterfaceHook/FileUploadCopyrightConfirmation/patch/<patch-name>.patch

Apply all patches at once

git apply Customizing/global/plugins/Services/UIComponent/UserInterfaceHook/FileUploadCopyrightConfirmation/patch/*.patch

Usage

Once the plugin is enabled, a box with a checkbox and text should show up below each file upload input.

Notes

  • The TinyMCE functionality does not have a patch that prevents the upload.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published