Download the PHP package monsieurbiz/sylius-cms-page-plugin without Composer
On this page you can find all versions of the php package monsieurbiz/sylius-cms-page-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download monsieurbiz/sylius-cms-page-plugin
More information about monsieurbiz/sylius-cms-page-plugin
Files in monsieurbiz/sylius-cms-page-plugin
Package sylius-cms-page-plugin
Short Description This plugins allows you to add manage CMS pages using the Rich Editor
License MIT
Informations about the package sylius-cms-page-plugin
Sylius CMS Pages
This plugins allows you to add manage CMS pages using the Rich Editor.
If you want to know more about our editor, see the Rich Editor Repository
Compatibility
Sylius Version | PHP Version |
---|---|
1.11 | 8.0 - 8.1 |
1.12 | 8.1 - 8.2 |
1.13 | 8.1 - 8.2 |
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_page_plugin.yaml
:
Finally import the routes in config/routes/monsieurbiz_sylius_cms_page_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 of complete CMS Page
Admin form with preview
Front display
Create custom elements
You can customize and create custom elements in your page.
In order to do that, you can check the Rich Editor custom element creation
SEO Friendly
You can define for every page the meta title, meta description and meta keywords.
Troubleshooting
Locale not found
We've added a new LocaleContext (LastChanceLocaleContext
) because the locale isn't set in the request when the
condition on the route is applied.
Therefore, if you still have an issue with multiple locales in your project, you may need to add another LocaleContext
in order to find out your locale. The system will take care of the rest.
Contributing
You can open an issue or a Pull Request if you want! 😘
Thank you!
All versions of sylius-cms-page-plugin with dependencies
monsieurbiz/sylius-media-manager-plugin Version ^1.1
monsieurbiz/sylius-rich-editor-plugin Version ^2.8
php Version ^8.0
sylius/sylius Version >=1.11 <1.14