Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BitBagCommerce/SyliusCmsPlugin

Repository files navigation

BitBag

BitBag CmsPlugin Build Status

Overview

Because the original Lakion CMS plugin does not work as expected, it uses deprecated bundles and in general is not finished and EZ Platform is often too much for basic CMS usage, we decided to start the development of CMS plugin from scratch. So far it supports dynamic images and text blocks but things like pages, product images, etc. still need to be developed. Contributors are warmly welcomed!

Installation

$ composer require bitbag/cms-plugin
$ bin/console doctrine:schema:update --force

Add plugin dependencies to your AppKernel.php file:

public function registerBundles()
{
    return array_merge(parent::registerBundles(), [
        ...
        
        new BitBag\CmsPlugin\BitBagCmsPlugin(),
    ]);
}

Import required config in your app/config/config.yml file:

# app/config/config.yml

imports:
    ...
    
    - { resource: "@BitBagCmsPlugin/Resources/config/config.yml" }

Import routing in your app/config/routing.yml file:

# app/config/routing.yml
...

bitbag_cms_plugin:
    resource: '@BitBagCmsPlugin/Resources/config/routing.yml'

Usage

In the admin panel you can now create image and text blocks. Both can be rendered in your twig templates using bitbag_render_block([block_code]) helper extension.

Testing

$ wget http://getcomposer.org/composer.phar
$ php composer.phar install
$ yarn install
$ yarn run gulp
$ php bin/console sylius:install --env test
$ php bin/console server:start --env test
$ open http://localhost:8000
$ bin/behat features/*
$ bin/phpspec run

Contribution

Learn more about our contribution workflow on http://docs.sylius.org/en/latest/contributing/.

About

Content management system for eCommerce apps created on Sylius platform. Built with Sylius code quality, flexibility, BDD.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors