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.1
2021-11-19 13:56 UTC
Requires
- helhum/typoscript-rendering: ^2.3
- riconet/t3-extension-dal: ^5.0
- typo3/cms-core: ^10.4
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- helmich/typo3-typoscript-lint: ^2.2
- phpmd/phpmd: ^2.9
- phpspec/prophecy-phpunit: ^v2.0
- phpstan/phpstan: 0.12.*
- squizlabs/php_codesniffer: ^3.5
- typo3/testing-framework: ^6.5.0
- vimeo/psalm: ^4.3
README
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
Description | command |
---|---|
Build the project | composer build |
Build the project(FE) | composer build-fe |
Quality tools | composer qa |
Fix QA errors | composer fix |
Lint PHP | composer lint |
Unit tests | composer unit |
Functional tests | composer functional |