studio1 / web2print-bricks
Web2PrintBricksBundle for Pimcore
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:pimcore-bundle
Requires
- php: ^8.0
- pimcore/pimcore: ^10.0
- pimcore/web2print-tools-bundle: 4.0.8
- spiritix/php-chrome-html2pdf: v1.7.3
- studio1/utility: 2.0.7
This package is auto-updated.
Last update: 2025-04-20 11:41:39 UTC
README
Installation
1. Preparation
Your Pimcore Docker stack must be built on the current version of Studio1® Pimcore PHP Docker Image. See: https://github.com/studio1gmbh/pimcore-docker
2. Use this bundle
Run following command in PHP FPM docker container:
composer require studio1/web2print-bricks
This adds all dependencies, too.
3. Enable/install Web-to-Print bundles
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
:
4. Change Web-to-Print settings
5. Set flag "PrintPage" true
for desired perspectives
Take the following perspective configuration as example: default.yaml
Afterwards please reload Pimcore admin backend.
Usage
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).