riconet/t3-extension-folder-based-download-center

This extension provides a plugin to display a download center, based on a given folder hierarchy.

3.0.0 2021-09-28 14:44 UTC

This package is auto-updated.

Last update: 2021-09-29 07:43:45 UTC


README

pipeline status

Folder based download center'

This extension provides a plugin to display a download center, based on a given folder hierarchy.

Dependencies

TYPO3 (typo3/cms-core)

  • 8.7.0 - 8.7.99

Packages

  • riconet/t3-extension-dal ^2.3
  • helhum/typoscript-rendering ^2.1

Installation

  • Activate the extension via the Extensions module.
  • Include the static typo script file.
  • Make sure you have indexed the folders you are going to use for the download center.

Installation using composer

Simply run composer require riconet/t3-extension-folder-based-download-center

For Integrators / Editors

Plugin - Downloadcenter

This plugin is used to display the downloadcenter.

The plugin comes with the following settings:

  • settings.rootFolder: The root folder of the download center ("1:/download-center").
  • settings.selectionLevels: Max selection boxes to display (default is 3).
  • settings.hideEmptyFolders: This option hides empty folders (containing no files and folders) (default is 0).

Exclude files or folders by name

You can exclude files and folders by name. To do so, you have to write some Typoscript. You can find an example in the setup.typoscript file, provided by the extension.

For Developers / DevOps

General extension information

  • All ajax calls are realized using the extension typoscript_rendering.
  • The displayed folders of the download center plugin are based on rico_dal.

Provided signals

  • indexBeforeFoldersGetsPassedToView: Used to manipulate the folders given to view initially.
  • nextLevelBeforeFoldersGetsPassedToView: Used to manipulate the folders given to view, if a new select box gets rendered.
  • contentBeforeFoldersGetsPassedToView: Used to manipulate the folders given to view, if the tab content gets rendered.

For developers

How to run QA and Test tools

Descriptioncommand
Build the projectcomposer build
Build the project(FE)composer build-fe
Quality toolscomposer qa
Fix QA errorscomposer fix
Lint PHPcomposer lint
Unit testscomposer unit
Functional testscomposer functional