shel/mediafrontend

Last activity 16 Dec 2020 6 773
composer require shel/mediafrontend

Content elements and utilities for media in Neos CMS

3.0.1

Version
3.0.1
Type
neos-plugin
Release Date
Dec 16, 2020 21:52
Source
git
Distribution
zip
Requires
GPL-3.0-or-later cb6077e8b2911c25f089abcc7b37a8e98daefaf0

Shel.MediaFrontend

This is a plugin for Neos CMS and the Neos/Media package.

It allows you to import files from a folder into the Media management and contains some Neos content element for browsing media in the frontend.

Warning: This package is not stable yet. So use at your own risk!

Installation

Add composer package

Run the following command in your site package:

composer require --no-update shel/mediafrontend

Then run the following command in your project root:

composer update

Dependencies

See composer.json. Additionally the frontend uses FontAwesome by default. But you can change this by overriding the Fusion objects in your own package.

Routing

The routes for the content element pagination are auto-included in the Settings.yaml.

Import files

This command will import all files recursively from a folder and puts them into a asset collection called "Imported".

Running the import command several times will not import the files again. Each files sha1 hash is checked if it already exists as resource.

./flow import:files --path=... [--simulate] 

Undo import

Removes all assets which are still part of the "Imported" asset collection. You can use this command to cleanup your assets after you assigned your files to the collections you want.

./flow import:purge [--simulate]

Use the content elements

After installation you can add the new element Asset directory as content element to any page.

It allows you to configure a main asset collection to initially filter which assets to show. You can also define more collections by which the user can filter.

Another filterbox shows the available tags of the selected main asset collection.

The content of the readme is provided by Github
The same vendor provides 27 package(s).