Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heimrichhannot/contao-media-library-bundle
This bundle offers the archive based handling of media library products of different type and their download items.
https://github.com/heimrichhannot/contao-media-library-bundle
mediathek
Last synced: about 1 month ago
JSON representation
This bundle offers the archive based handling of media library products of different type and their download items.
- Host: GitHub
- URL: https://github.com/heimrichhannot/contao-media-library-bundle
- Owner: heimrichhannot
- License: lgpl-3.0
- Created: 2018-03-16T13:21:11.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-09-04T12:46:59.000Z (4 months ago)
- Last Synced: 2024-11-12T19:43:59.288Z (about 1 month ago)
- Topics: mediathek
- Language: PHP
- Homepage:
- Size: 271 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Contao Media Library Bundle
[![](https://img.shields.io/packagist/v/heimrichhannot/contao-media-library-bundle.svg)](https://packagist.org/packages/heimrichhannot/contao-media-library-bundle)
[![](https://img.shields.io/packagist/dt/heimrichhannot/contao-media-library-bundle.svg)](https://packagist.org/packages/heimrichhannot/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 if a fully fledged shop system would be too much
- 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
- add additional fields differently for each product archive
- [Form Type](https://github.com/heimrichhannot/contao-form-type-bundle) integration
- [Encore Bundle](https://github.com/heimrichhannot/contao-encore-bundle) integration
- optional: `codefog/tags-bundle` integration for tagging products (activate in product archive)
- optional: `heimrichhannot/contao-categories-bundle` integration for categorizing products (activate in product archive)## Usage
### Install
Install via composer
```
composer require heimrichhannot/contao-media-library-bundle
```Update database
### Setup
1. Create a media library archive and set configurations for its content.
2. Create a product in the archive. Download items will be automatically generated on submit if not permitted manually.
3. Optional: manually add download items### Configuration
```yaml
huh_media_library:# If true, the filenames of the generated product downloads will be sanitized.
sanitize_download_filenames: false
```### Edit and Delete product
You can add edit and delete support for your media library products by setting the corresponding option in the archive settings.
You also need to adjust the member (group) settings accordingly.Edit and delete links will automatically be added to the template data of reader bundle templates, if the member has the corresponding permissions.
The variable names are `editLink` and `deleteLink`.