Skip to content

PlumTreeSystems/SyliusArticlePlugin

Repository files navigation

Sylius Article Plugin

This plugin is an extension for BitBagSyliusCmsPlugin. It adds your created sections to your application's menu

Installation

  1. Run composer require plumtreesystems/sylius-article-plugin

  2. Install WYSIWYG editor (FOS CKEditor)

    bin/console ckeditor:install

  3. Add plugin dependencies to your config/bundles.php file:

    return [
        ...
        FOS\CKEditorBundle\FOSCKEditorBundle::class => ['all' => true], // WYSIWYG editor
        SitemapPlugin\SitemapPlugin::class => ['all' => true], // Sitemap support
        BitBag\SyliusCmsPlugin\BitBagSyliusCmsPlugin::class  => ['all' => true],
        PTS\SyliusArticlePlugin\PTSSyliusArticlePlugin::class => ['all' => true],
    ];
  4. Import configuration in your config/packages/_sylius.yaml file

    imports:
        - { resource: "@PTSSyliusArticlePlugin/Resources/config/config.yml" }
    
  5. Import routing in your config/routes.yaml file

    pts_sylius_article_plugin:
      resource: "@PTSSyliusArticlePlugin/Resources/config/routes.yaml"
    
    

Credits

This plugin uses BitBagSyliusCmsPlugin as a dependency