Download the PHP package sherlockode/sylius-advanced-content-plugin without Composer
On this page you can find all versions of the php package sherlockode/sylius-advanced-content-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sherlockode/sylius-advanced-content-plugin
More information about sherlockode/sylius-advanced-content-plugin
Files in sherlockode/sylius-advanced-content-plugin
Package sylius-advanced-content-plugin
Short Description Sylius plugin for SherlockodeAdvancedContentBundle
License MIT
Informations about the package sylius-advanced-content-plugin
Sylius AdvancedContent plugin
[ ](https://www.sherlockode.fr/contactez-nous/?utm_source=github&utm_medium=referral&utm_campaign=plugins_sylius_acb)
Table of Content
- Overview
- Installation
- Configuration
- Usage
- Demo
- Additional resources for developers
- License
- Contact
Overview
This plugin enables Sherlockode's AdvancedContentBundle on your Sylius website.
It provides advanced CMS features for end user contribution. Users can build their website pages quickly and effortlessly thanks to our intuitive interface. Several standard elements are included, such as text block, heading, image, image carousel, video player, ... Responsive layouts can be shaped as needed with row and column elements. Drafts are saved automatically and it's easy to rollback to a previous version. Custom elements can be added simply with a few lines of code.
Installation
Install the plugin with composer:
Configuration
Import the routing configuration and Sylius configuration from the bundle
Regarding the assets, the same setup as for the standalone AdvancedContentBundle should be done.
Update your package.json
with the following:
In the admin JS entry file from your assets, add the resources from the bundle:
If you are using Webpack, you can add the following lines to your admin configuration:
Usage
The plugin adds a new Content section in the admin menu.\ It includes links to the Page grid, to the Content grid and to the Tools page.
You can checkout our documentation on the Advanced Content Bundle to learn more on how to use the plugin:
Customizing page preview
By default, the layout used to show the page previews is located at @SherlockodeSyliusAdvancedContentPlugin/Preview/preview.html.twig
.
You can customize this template by overriding it like any template in a third party bundle, or by replacing the sherlockode_sylius_acb.preview.view_handler
service to manage different layouts depending on the page type:
And defining the service by yourself:
Demo Sylius Shop
We created a demo app with some useful use-cases of plugins! Visit sylius-demo.sherlockode.fr to take a look at it. The admin can be accessed under sylius-demo.sherlockode.fr/admin/login link.\ Plugins that we have used in the demo:
Plugin name | GitHub | Sylius' Store |
---|---|---|
Advance Content Bundle (ACB) | https://github.com/sherlockode/SyliusAdvancedContentPlugin | - |
Mondial Relay | https://github.com/sherlockode/SyliusMondialRelayPlugin | - |
Checkout Plugin | https://github.com/sherlockode/SyliusCheckoutPlugin | - |
FAQ | https://github.com/sherlockode/SyliusFAQPlugin | - |
Additional resources for developers
To learn more about our contribution workflow and more, we encourage you to use the following resources:
License
This plugin's source code is completely free and released under the terms of the MIT license.
Contact
If you want to contact us, the best way is to fill the form on our website or send us an e-mail to [email protected] with your question(s). We guarantee that we answer as soon as we can!
All versions of sylius-advanced-content-plugin with dependencies
sherlockode/advanced-content-bundle Version ^0.9.2
sylius/sylius Version ^1.10