Your Pimcore Docker stack must be built on the current version of Studio1® Pimcore PHP Docker Image. See: https://github.com/studio1gmbh/pimcore-docker
Run following command in PHP FPM docker container:
composer require studio1/web2print-bricks
This adds all dependencies, too.
Run following command in PHP FPM docker container:
# ATTENTION: change to Pimcore folder *before* running following commands
bin/console pimcore:bundle:enable Web2PrintToolsBundle
bin/console pimcore:bundle:install Web2PrintToolsBundle
bin/console pimcore:bundle:enable Web2PrintBricksBundle
bin/console pimcore:bundle:install Web2PrintBricksBundle
bin/console pimcore:bundle:enable OutputDataConfigToolkitBundle
bin/console pimcore:bundle:install OutputDataConfigToolkitBundle
Also see installation notes for Web2PrintToolsBundle
and OutputDataConfigToolkitBundle
:
Take the following perspective configuration as example: default.yaml
Afterwards please reload Pimcore admin backend.
Add PrintPage document and choose controller, e.g.
Document type | Controller |
---|---|
Print container | Studio1\Web2PrintBricksBundle\Controller\Web2printController::containerAction |
Print page | Studio1\Web2PrintBricksBundle\Controller\Web2printController::defaultAction |
After choosing the right controller adding bricks of this bundle via editor is possible (maybe reload GUI).