heimrichhannot / contao-media-library-bundle
Project bundle
Installs: 664
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 0
Open Issues: 1
Type:contao-bundle
Requires
- php: ^8.1
- codefog/tags-bundle: ^3.2
- contao/core-bundle: ^4.13
- heimrichhannot-contao-components/alertifyjs: 1.11.2
- heimrichhannot/contao-categories-bundle: ^1.1
- heimrichhannot/contao-encore-contracts: ^1.0
- heimrichhannot/contao-form-type-bundle: ^0.2.0
- heimrichhannot/contao-utils-bundle: ^2.220
- symfony/config: ^4.4 || ^5.4
- symfony/event-dispatcher-contracts: ^1.0 || ^2.0 || ^3.0
- symfony/translation-contracts: ^1.0 || ^2.0 || ^3.0
- dev-master
- 1.6.0
- 1.5.1
- 1.5.0
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.4
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 1.0.0-beta23
- 1.0.0-beta22
- 1.0.0-beta21
- 1.0.0-beta20
- 1.0.0-beta19
- 1.0.0-beta18
- 1.0.0-beta17
- 1.0.0-beta16
- 1.0.0-beta15
- 1.0.0-beta14
- 1.0.0-beta13
- 1.0.0-beta12
- 1.0.0-beta11
- 1.0.0-beta10
- 1.0.0-beta9
- 1.0.0-beta8
- 1.0.0-beta7
- 1.0.0-beta6
- 1.0.0-beta5
- 1.0.0-beta4
- 1.0.0-beta3
- 1.0.0-beta2
- 1.0.0-beta
- 0.11.0
- 0.10.1
- 0.10.0
- 0.9.x-dev
- 0.9.2
- 0.9.1
- 0.9.0
- 0.8.5
- 0.8.4
- 0.8.3
- 0.8.2
- 0.8.1
- 0.8.0
- 0.7.1
- 0.7.0
- 0.6.4
- 0.6.3
- 0.6.2
- 0.6.1
- 0.6.0
- 0.5.2
- 0.5.1
- 0.5.0
- 0.4.0
- 0.3.1
- 0.3.0
- 0.2.2
- 0.2.1
- 0.2.0
- 0.1.1
- 0.1.0
- dev-feature/create-permission
- dev-feature/support_new_delete_permissions
- dev-feature/delete-product-permissions
- dev-feature/enhance_copyright
- dev-beta15
This package is auto-updated.
Last update: 2024-12-04 13:24:52 UTC
README
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 integration
- 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
- 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
Configuration
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
.