KLXM Studio – Home
Get in touch

Agencies & network · Advanced · 1:32 min

Shared media & shared data

media poolShared media library for several websites of one installation: images and files exist once and can be used on all participating websites. (e.g. brand images) and data tableStructured content such as team, events, products or references: entries with the same fixed fields that can appear on several pages – often with a detail page per entry. shared by several websites (e.g. an association and its member clubs).

No sound, with subtitles German and English captionsText of what is spoken in a video, shown in sync. On the web usually a WebVTT file; captions help deaf people and anyone watching without sound.developer.mozilla.org (opens in a new tab) – switch them on and off with “CC” in the player. The video is hosted on this server and only loads when you press play. The steps below are the full text of the video.

Goal

Several websites use common images and data – maintained in one place.

Prerequisites

  • A network account or administration of the main website.

Step by step

Transcript: every step matches one subtitle in the video.

  1. System › Grundeinstellungen › Geteilte Medien (shared media): central libraries (e.g. logos, brand images) for several websites.
  2. “Neuen Pool anlegen” (new pool): name, short name and the websites allowed to use it.
  3. Per pool: “Genutzt von” (used by) and “Pflegen dürfen” (may maintain) – everyone else only uses the files.
  4. In the media library: right-click a file › “In … verschieben (geteilt)” (move to shared) – existing uses are kept.
  5. Switch between “Diese Website” (this website) and the pool at the top – the file now lives there for every website of the pool.
  6. Shared data: one website owns the table (owner website, e.g. an association), the participating websites (e.g. its clubs) see and add entries.
  7. On the participating websites the owner website’s entries appear in the same table – read-only, its own stay editable.
  8. Network › Geteilt (shared) shows all pools and shared tables at a glance.
  9. Backup commands: pool:backup and shared:backup (see technical documentation › shared data tables).

Commands & configuration

php bin/console pool:create marke "Markenbilder"
php bin/console data:share verbandsnews --members=verein-a,verein-b --site=verband
php bin/console pool:backup --all
php bin/console shared:backup --all

Tips & pitfalls

Tip

Sharing existing files: right-click in the media library › “In … verschieben (geteilt)” (move to shared) – existing uses stay valid.

Watch out

Changes in pools and shared tables take effect immediately on all participating websites.

Watch out

sync-content.sh does not transfer pools and shared tables.