1.0.7 • Published 4 years ago
@hundh/contao-media-library-bundle v1.0.7
Contao Media Library Bundle
This bundle offers the archive based handling of media library products of different type and their download items. The download items can be generated automatically.
Features
- organize your media (images, videos, ...) as products in archives
- predefined media library content types
image
,video
,file
- in case of image products, images sizes for the creation of downloads according to the downloads can be specified
- manually add download items for products
- configurable dca field palettes for products
codefog/tags-bundle
integration for tagging productsheimrichhannot/contao-categories-bundle
integration for categorizing products
Usage
Install
Install via composer
composer require heimrichhannot/contao-media-library-bundle
Update database
Setup
- Create a media library archive and set configurations for its content.
- Create a product in the archive. Download items will be automatically generated on submit if not permitted manually.
- Optional: manually add download items
Installation with frontend assets using webpack
If you want to add the frontend assets (JS & CSS) to your project using webpack, please
add foxy/foxy to the depndencies of your project's composer.json
and add the following to its config
section:
"foxy": {
"manager": "yarn",
"manager-version": "^1.5.0"
}
Using this, foxy will automatically add the needed yarn packages to your project's node_modules
folder.
If you want to specify which frontend assets to use on a per page level, you can use heimrichhannot/contao-encore-bundle.