studio1/web2print-bricks

Web2PrintBricksBundle for Pimcore

v1.0.2 2023-05-05 07:25 UTC

This package is auto-updated.

Last update: 2025-02-20 11:19:51 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

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.

After choosing the right controller adding bricks of this bundle via editor is possible (maybe reload GUI).