pluswerk/mediacenter

Pluswerk: Mediacenter

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 0

Open Issues: 0

Type:typo3-cms-extension

1.0.0 2020-07-21 12:00 UTC

This package is auto-updated.

Last update: 2021-03-21 13:26:40 UTC


README

This extension adds a dynamic media center with a download-function and detail-view to your project.

Features:

  • Media records with title, assets, categories and descriptions
  • Media categories
  • Filtering for categories, search, date and media-type (e.g. only images / videos)
  • Extendable (bootstrapped) fluid-templates
  • Media assets can be downloaded as '.zip' (configurable)

How to

Add the mediacenter-plugin to your page. Select a storage folder inside the plugin options. Put all your media-records and media-category-records inside this storage folder.

Routing Example for speaking URLs

  Mediacenter:
    type: Extbase
    extension: Mediacenter
    plugin: Mediacenter
    defaultController: 'Mediacenter::list'
    routes:
      - { routePath: '/', _controller: 'Mediacenter::list' }
      - { routePath: '/filter/{mediaType}', _controller: 'Mediacenter::filterList' }
      - { routePath: '/detail/{media}', _controller: 'Mediacenter::show' }
    defaults:
      mediaType: 0
    aspects:
      mediaType:
        type: StaticValueMapper
        map:
          all: 0
          image: 2
          audio: 3
          video: 4
        localeMap:
          - locale: 'de_.*'
            map:
              alle: 0
              bild: 2
              audio: 3
              video: 4
      media:
        type: PersistedAliasMapper
        tableName: 'tx_mediacenter_domain_model_media'
        routeFieldName: 'slug'