Download the PHP package monsieurbiz/sylius-cms-block-plugin without Composer
On this page you can find all versions of the php package monsieurbiz/sylius-cms-block-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download monsieurbiz/sylius-cms-block-plugin
More information about monsieurbiz/sylius-cms-block-plugin
Files in monsieurbiz/sylius-cms-block-plugin
Package sylius-cms-block-plugin
Short Description Save rich editor contents in database and use it as UI Element
License MIT
Informations about the package sylius-cms-block-plugin
Sylius Cms Block Plugin
Compatibility
Sylius Version | PHP Version |
---|---|
1.12 | 8.2 - 8.3 |
1.13 | 8.2 - 8.3 |
1.14 | 8.2 - 8.3 |
Installation
If you want to use our recipes, you can configure your composer.json by running:
Change your config/bundles.php
file to add the line for the plugin :
Then create the config file in config/packages/monsieurbiz_sylius_cms_block_plugin.yaml
:
Finally import the routes in config/routes/monsieurbiz_sylius_cms_block_plugin.yaml
:
Migrations
First, please run legacy-versioned migrations by using command :
After migration, please create a new diff migration :
Then run it (if any) :
Example
Admin list
Manage your block in admin
Admin form
Manage the content of your block, you can decide to disable or enable it to display it anywhere you used it.
Include it in your content
For example in your Homepage ou CMS Page !
By using block
element in your Rich Editor.
Chose the block you want to include in your content.
Displays in front
You can use it in multiple places, it will shown the same content everywhere.
If you disable the block, it will not be displayed anymore.
License
This plugin is under the MIT license. Please see the LICENSE file for more information.
All versions of sylius-cms-block-plugin with dependencies
php Version ^8.2
sylius/sylius Version >=1.12 <2.0