bwein-net / contao-migrate-pa2-gallery
Migration of photoalbums2 to gallery for Contao Open Source CMS
Fund package maintenance!
rabauss
Installs: 23
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:contao-bundle
Requires
- php: ^8.2
- contao/core-bundle: ^4.13 || ^5.0
- symfony/config: ^5.4 || ^6.0
- symfony/dependency-injection: ^5.4 || ^6.0
- symfony/http-kernel: ^5.4 || ^6.0
Requires (Dev)
- bwein-net/contao-gallery: ^1.0
- contao/manager-plugin: ^2.0
- craffft/contao-photoalbums2: ^2.2
README
Since the extension craffft/contao-photoalbums2 is not maintained and does not support Contao 5, you can use bwein-net/contao-gallery. This bundle provides a migration for photoalbums2 to gallery.
Installation
Install the bundle via Composer:
composer require bwein-net/contao-migrate-pa2-gallery
Run the migration
After the installation you can run the migration via console contao:migrate
or you open the contao install tool.
Attention: The tables of the new extension
bwein-net/contao-gallery
must to be empty!
Edit settings and data
Since only the archives and albums are being migrated, some settings and data need to be edited.
Please configure or check the following manually:
- redirect pages of gallery categories
- frontend modules with all options
- gallery list with template
album_simple
oralbum_latest
- gallery reader with template
album_full
- gallery list with template
- template customization - especially
album_latest
andalbum_full
- adjust the meta info (event, place, photographer)
- css customization
- user permissions
- permissions for gallery categories
- allowed table fields of
tl_bwein_gallery_category
andtl_bwein_gallery
- protected categories (member groups are now only supported and no longer explicit members)
- categories for each language - please install: terminal42/contao-changelanguage
Uninstall extensions
Once you've completed the migration and set up the galleries, you can and should uninstall both extensions:
composer remove bwein-net/contao-migrate-pa2-gallery
composer remove craffft/contao-photoalbums2