Download the PHP package basilicom/pimcore-advanced-custom-layout-bundle without Composer

On this page you can find all versions of the php package basilicom/pimcore-advanced-custom-layout-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package pimcore-advanced-custom-layout-bundle

Advanced Custom Layout Bundle

Configure and create custom layouts without drag and drop.

Usecase

Sometimes you might have to create multiple custom layouts for multiple dataObjects. Additionally, you want to only adapt one field while keeping the rest always the same. The current Pimcore implementation makes it necessary to adapt all custom layouts as soon as you ClassDefinition changes. Therefor we created this bundle.

Here you can simply adapt visibility and editability of fields without having to drag and drop them again.

Main features:

Note: this bundle will create custom layouts but taking the default class's layout definition and adapt the field-attributes. Hidding all fields will still keep layout elements.

Installation

Add a new configuration file config/packages/custom_layouts.yaml. An example configuration can be found in config/packages/example.custom_layouts.yaml.

Configuration

Custom Layout Modes

Edit Mode

A custom layout with this setting will consist of all fields of the layout definition. The provided settings will then overwrite the default settings.

In this example we will keep all layout and field definitions but overwrite the title, lock and hide the field.

Show Mode

A custom layout with this setting will hide all fields which are not defined in the configuration. Additionally, the provided settings will overwrite the default settings regarding being editable or visible.

In this example we will only show the title attribute which is not editable anymore.

Utilization

Updating Custom Layouts

To update the custom layouts you have to run the following command:

For documentation purposes

In some cases you might want to generate an overview of all fields settings per layout. In order to do so, you can run the following command:

The file will be created in project/var/bundles/AdvancedCustomLayouts/CustomLayouts.xlsx.

TODOs

Author

Alexander Heidrich


All versions of pimcore-advanced-custom-layout-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
pimcore/pimcore Version >=10
phpoffice/phpspreadsheet Version ^1.28
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package basilicom/pimcore-advanced-custom-layout-bundle contains the following files

Loading the files please wait ....