Agencies & network · Advanced · 1:25 min
Shared media & shared data
Media pools (e.g. brand images) and an association’s tables for its member clubs.
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.
- Grundeinstellungen › Geteilte Medien (shared media): central libraries (e.g. logos, brand images) for several websites.
- “Neuen Pool anlegen” (new pool): name, short name and the websites allowed to use it.
- Per pool: “Genutzt von” (used by) and “Pflegen dürfen” (may maintain) – everyone else only uses the files.
- In the media library: right-click a file › “In … verschieben (geteilt)” (move to shared) – existing uses are kept.
- Switch between “Diese Website” (this website) and the pool at the top – the file now lives there for every website of the pool.
- Shared data: one website (e.g. the association) owns the table, members (clubs) see and add entries.
- At the club the association’s entries appear in the same table – read-only, its own stay editable.
- 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.