Skip to main content
Version: Next

Installation

Bundle Installation

For Pimcore >= 10.5 & <= 10.6

To install Pimcore Perspective Editor for Pimcore 10.5 or higher, follow the three steps below:

  1. Install the required dependencies:
composer require pimcore/perspective-editor
  1. Make sure the bundle is enabled in the config/bundles.php file. The following lines should be added:
use Pimcore\Bundle\PerspectiveEditorBundle\PimcorePerspectiveEditorBundle;
// ...

return [
// ...
PimcorePerspectiveEditorBundle::class => ['all' => true],
// ...
];
  1. Install the bundle:
bin/console pimcore:bundle:install PimcorePerspectiveEditorBundle

For Pimcore 11

You need to follow the steps mentioned above and additionally run the following command:

composer require pimcore/admin-ui-classic-bundle

For Older Versions

To install the Perspective Editor bundle for older versions of Pimcore, please run the following commands instead:

composer require pimcore/perspective-editor
bin/console pimcore:bundle:enable PimcorePerspectiveEditorBundle
bin/console pimcore:bundle:install PimcorePerspectiveEditorBundle

Installation routine just adds an additional permission to users_permission_definitions table.

Also, make sure, that customviews.php and perspectives.php files are writeable for php. They can be located at Pimcore default locations for config files: PIMCORE_CUSTOM_CONFIGURATION_DIRECTORY or PIMCORE_CONFIGURATION_DIRECTORY.

If they don't exist, they are created at PIMCORE_CONFIGURATION_DIRECTORY.

Configuration

To make the bundle work, just make sure, users have the necessary permissions.

  • Perspective Editor: all users with perspective_editor permission have all access.
  • Custom Views Editor: all users with perspective_editor permission have read access, only admin users have write access (due to risk of potential security issues as SQL conditions can be configured in the UI).