Skip to content

Feature/op 312 redesign cms plugin #547

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 448 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
448 commits
Select commit Hold shift + click to select a range
6c841bd
OP-327: Spec & repo tests
jkindly Jul 12, 2024
95e53a9
Merge branch 'feature/OP-312-redesign-cms-plugin' into feature/OP-326
jkindly Jul 12, 2024
c84b85d
Merge pull request #506 from BitBagCommerce/feature/OP-326
jkindly Jul 12, 2024
ce2eef1
OP-329: Add channels column in listing, move path to crud form
jkindly Jul 15, 2024
47106fa
Merge pull request #507 from BitBagCommerce/feature/OP-329
jkindly Jul 15, 2024
6da89f6
OP-327: Fixed column name in media channels
jkindly Jul 16, 2024
0b3e0c3
OP-327: Redesign twig functions
jkindly Jul 16, 2024
e95a0ba
OP-327: Spec tests
jkindly Jul 16, 2024
dc7f14a
OP-327: Move strategy services to renderer, add entity to media conte…
jkindly Jul 16, 2024
fd6edf1
OP-327: Media preview in form
jkindly Jul 17, 2024
0da955a
OP-327: Truncate name in listing
jkindly Jul 17, 2024
a8a12ee
OP-327: Rename render page link functions
jkindly Jul 17, 2024
fc37216
OP-327: Spec
jkindly Jul 17, 2024
9d0ebb2
OP-327: ecs
jkindly Jul 17, 2024
1443cfc
OP-327: Remove render page content
jkindly Jul 18, 2024
f3e54c1
OP-439: Products grid & Products grid by Taxon content elements
jkindly Jul 18, 2024
d5aa9d7
OP-439: Translations
jkindly Jul 18, 2024
6e3a443
OP-439: PHPSpec
jkindly Jul 18, 2024
bf7c64a
OP-439: Behat
jkindly Jul 18, 2024
17bfae7
OP-440: Conditional block rendering
jkindly Jul 19, 2024
68bd3f5
OP-440: Translations
jkindly Jul 19, 2024
37b1fbe
OP-440: Migration
jkindly Jul 19, 2024
e9f77e8
OP-440: PHPStan & ECS fixes
jkindly Jul 19, 2024
6191310
OP-440: Spec
jkindly Jul 22, 2024
05d5793
OP-440: Migration comments
jkindly Jul 22, 2024
6ae04d5
OP-439: Migration comments
jkindly Jul 22, 2024
a5144b2
OP-440: PHPUnit fix
jkindly Jul 22, 2024
b829519
Merge pull request #509 from BitBagCommerce/feature/OP-327
senghe Jul 22, 2024
6d34b8d
Merge pull request #510 from BitBagCommerce/feature/OP-439
senghe Jul 22, 2024
58269d4
OP-441: Twig function to render Collection
jkindly Jul 23, 2024
eb876f4
OP-441: ECS fixes
jkindly Jul 23, 2024
0b53af1
OP-441: PHP Spec
jkindly Jul 23, 2024
7f948bd
OP-440: Remove unnecessary traits and move methods to existing traits
jkindly Jul 24, 2024
637020e
OP-440: Conditional block rendering
jkindly Jul 19, 2024
7a8ac18
OP-440: Translations
jkindly Jul 19, 2024
4683871
OP-440: Migration
jkindly Jul 19, 2024
e9f9c62
OP-440: PHPStan & ECS fixes
jkindly Jul 19, 2024
156989a
OP-440: Spec
jkindly Jul 22, 2024
f573e44
OP-440: Migration comments
jkindly Jul 22, 2024
8590a3a
OP-440: PHPUnit fix
jkindly Jul 22, 2024
cf8fb16
OP-441: Twig function to render Collection
jkindly Jul 23, 2024
9a239a3
OP-441: ECS fixes
jkindly Jul 23, 2024
a2a21ac
OP-441: PHP Spec
jkindly Jul 23, 2024
20e54cf
OP-441: Remove useless specs
jkindly Jul 24, 2024
91fb6a9
Merge remote-tracking branch 'origin/feature/OP-441' into feature/OP-441
jkindly Jul 24, 2024
56ccb60
OP-441: Remove forgotten function
jkindly Jul 24, 2024
12664cf
Merge pull request #511 from BitBagCommerce/feature/OP-440
senghe Jul 24, 2024
ecbdd33
Merge pull request #512 from BitBagCommerce/feature/OP-441
senghe Jul 24, 2024
80ddc84
OP-442: Locales functionality
jkindly Jul 25, 2024
822ef66
OP-442: Behat fixes
jkindly Jul 25, 2024
20047e9
OP-442: Migration OS header and typo fix
jkindly Jul 26, 2024
6cfa6eb
Merge pull request #513 from BitBagCommerce/feature/OP-442
jkindly Jul 26, 2024
4d4afae
OP-461: Page templates
jkindly Jul 30, 2024
4b952d7
OP-461: Page templates
jkindly Jul 30, 2024
c2d883f
OP-461: Page templates
jkindly Jul 30, 2024
1069aed
OP-461: Template form validation
jkindly Jul 31, 2024
e5f0937
OP-461: Template form validation translations
jkindly Jul 31, 2024
a92a6ef
OP-461: Behat tests
jkindly Jul 31, 2024
ff64c4e
OP-461: TemplateContext fix
jkindly Jul 31, 2024
432200f
OP-461: PHPUnit repo test
jkindly Aug 1, 2024
4674631
OP-463: Block templates
jkindly Aug 1, 2024
27901a9
OP-461: Unit test name fix
jkindly Aug 1, 2024
b63950f
OP-463: Block templates
jkindly Aug 1, 2024
ad8fd21
OP-463: Unit tests
jkindly Aug 1, 2024
133ef77
Merge remote-tracking branch 'origin/feature/OP-463' into feature/OP-463
jkindly Aug 1, 2024
3ac5538
OP-463: Behat tests
jkindly Aug 1, 2024
5778540
OP-463: Move CMS menu under marketing
jkindly Aug 2, 2024
684dc18
OP-463: PHPSpec menu correction
jkindly Aug 2, 2024
7567d5a
Merge pull request #514 from BitBagCommerce/feature/OP-461
senghe Aug 2, 2024
48242b0
OP-462: Page preview functionality
jkindly Aug 2, 2024
373b51c
OP-462: PHPStan and err 500 fixes in preview
jkindly Aug 2, 2024
6e75a40
OP-464: Page import adjustments
jkindly Aug 2, 2024
5da87f2
OP-464: Block import adjustments
jkindly Aug 5, 2024
a360d8c
OP-464: PHPSpec
jkindly Aug 5, 2024
7a05e3e
OP-344: init
jkindly Aug 7, 2024
2dccecb
OP-344: Page teaser
jkindly Aug 8, 2024
40ce5ba
OP-344: Fix relation between Block/Page/Media and Collection
jkindly Aug 9, 2024
c31850e
OP-344: Pages collection and spacer content elements
jkindly Aug 12, 2024
4ae4c02
OP-344: Pages collection and spacer content elements
jkindly Aug 12, 2024
8d7e4ad
OP-344: Fixtures
jkindly Aug 12, 2024
5b6f5c7
OP-344: Mapping fix
jkindly Aug 12, 2024
8e7686c
OP-344: Tests
jkindly Aug 12, 2024
d1bb15b
OP-344: Remove redundant test
jkindly Aug 12, 2024
350a8b2
OP-344: Remove redundant test
jkindly Aug 12, 2024
fab0777
OP-463: Extract menu reorder as service + specs
jkindly Aug 12, 2024
96f975d
Merge pull request #515 from BitBagCommerce/feature/OP-463
senghe Aug 12, 2024
69ef7bf
Merge pull request #516 from BitBagCommerce/feature/OP-462
jkindly Aug 12, 2024
1c28531
OP-464: Specs
jkindly Aug 13, 2024
f7e80f7
Merge pull request #517 from BitBagCommerce/feature/OP-464
jkindly Aug 13, 2024
bbdd238
OP-344: init
jkindly Aug 7, 2024
41c3bf7
OP-344: Page teaser
jkindly Aug 8, 2024
700f5ab
OP-344: Fix relation between Block/Page/Media and Collection
jkindly Aug 9, 2024
ae51fbd
OP-344: Pages collection and spacer content elements
jkindly Aug 12, 2024
e6eeb91
OP-344: Pages collection and spacer content elements
jkindly Aug 12, 2024
a88ff23
OP-344: Fixtures
jkindly Aug 12, 2024
5b15d8b
OP-344: Mapping fix
jkindly Aug 12, 2024
f7ec31d
OP-344: Tests
jkindly Aug 12, 2024
457c3de
OP-344: Remove redundant test
jkindly Aug 12, 2024
a58672e
OP-344: Remove redundant test
jkindly Aug 12, 2024
8912311
Merge remote-tracking branch 'origin/feature/OP-344' into feature/OP-344
jkindly Aug 13, 2024
0a4c10c
OP-470: Block preview functionality
jkindly Aug 13, 2024
f6c3173
OP-438: Code cleanup
jkindly Aug 13, 2024
58dd029
OP-438: Code cleanup
jkindly Aug 14, 2024
2523631
Merge remote-tracking branch 'origin/feature/OP-438' into feature/OP-438
jkindly Aug 14, 2024
dda16c2
OP-344: Fix for entity relations + translations
jkindly Aug 14, 2024
4493191
OP-438: PHPStan fix
jkindly Aug 14, 2024
ae9fff2
Merge pull request #518 from BitBagCommerce/feature/OP-344
jkindly Aug 14, 2024
8a8e3e6
Merge pull request #519 from BitBagCommerce/feature/OP-470
jkindly Aug 14, 2024
4572dfd
OP-438: Code cleanup
jkindly Aug 14, 2024
3acf011
OP-438: Code cleanup
jkindly Aug 13, 2024
1a33cc1
OP-438: PHPStan fix
jkindly Aug 14, 2024
4c99e55
Merge remote-tracking branch 'origin/feature/OP-438' into feature/OP-438
jkindly Aug 14, 2024
e91d97e
OP-328: Init
jkindly Aug 19, 2024
f27aa81
OP-491 - Corrected preview error with ckeditor
tomkalon Aug 21, 2024
19ef10c
Revert "OP-491 - Corrected preview error with ckeditor"
tomkalon Aug 21, 2024
5814f26
OP-491 - Corrected preview error with ckeditor
tomkalon Aug 21, 2024
3394bc3
OP-437 - CKEditor correctly displaying
tomkalon Aug 21, 2024
e8f72e8
OP-328: Remove dead code and fixtures update
jkindly Aug 22, 2024
e21a413
OP-328: Update readme, docs and add UPGRADE-5.0.md
jkindly Aug 22, 2024
70924fa
OP-328: ECS
jkindly Aug 22, 2024
cd46957
OP-437 - CKEditor correction of an error for more than one textarea
tomkalon Aug 22, 2024
e356d8d
OP-494: Fix for error 500 when trying to edit block/page when media a…
jkindly Aug 22, 2024
fb19e3d
OP-494: ECS
jkindly Aug 22, 2024
b26d99c
OP-496: Fix for finding media when translation is empty + remove dead…
jkindly Aug 23, 2024
3c3fd95
Merge pull request #523 from BitBagCommerce/feature/OP-491
senghe Aug 26, 2024
47e6cde
Merge pull request #524 from BitBagCommerce/feature/OP-437
senghe Aug 26, 2024
5efb1b1
Merge pull request #526 from BitBagCommerce/bug/OP-494
senghe Aug 26, 2024
30a6f53
Merge pull request #527 from BitBagCommerce/bug/OP-496
senghe Aug 26, 2024
f2eecf2
OP-290: Bumped PHP version to ^8.1
jkindly Aug 23, 2024
832fe8b
OP-290: Move instaclick/php-webdriver to require-dev
jkindly Aug 23, 2024
edf0d9b
OP-290: Remove conflicts as there is no more support for Sf 4
jkindly Aug 23, 2024
f700733
OP-290: Improve performance in assigners
jkindly Aug 23, 2024
98b17dd
OP-290: Remove AuthenticationManagerPolyfillPass.php as equivalent ex…
jkindly Aug 26, 2024
61a449f
OP-290: Remove $ from scripts because it makes it difficult to copy a…
jkindly Aug 26, 2024
5799d5e
OP-290: Update installation.md and sitemap.md. Also change suggested …
jkindly Aug 26, 2024
ded6ce3
OP-290: Change namespace from BitBag\SyliusCmsPlugin\ to Sylius\CmsPl…
jkindly Aug 26, 2024
ba8acd1
OP-290: Change prefix from bitbag_ to sylius_
jkindly Aug 27, 2024
0d7ddaa
OP-290: Migration
jkindly Aug 27, 2024
aed0a9a
OP-290: Move ImportFromCsvCommand.php to Console\Command namespace
jkindly Aug 28, 2024
0c97f0a
OP-290: Change of API serialization groups
jkindly Aug 28, 2024
280463a
OP-290: Doctrine query extension to filter api responses
jkindly Aug 28, 2024
1e0aaa0
OP-290: Template controller refactor
jkindly Aug 29, 2024
7f5a343
OP-290: Remove bitbag docblock at the top of files
jkindly Aug 29, 2024
da41c70
OP-290: Remove sitemap info as it does not support sylius 1.13
jkindly Aug 29, 2024
be854f0
OP-290: Move resource definitions to Configuration tree instead of YA…
jkindly Aug 30, 2024
ac5819e
OP-290: change sylius_cms_plugin to sylius_cms and BitBagSyliusCmsPlu…
jkindly Aug 30, 2024
033daa7
OP-290: rename everything related to bitbag, bit_bag etc.
jkindly Sep 2, 2024
8c8e236
OP-290: .env.test update
jkindly Sep 2, 2024
f245fe6
OP-290: tests
jkindly Sep 3, 2024
5b7feaf
OP-290: migration
jkindly Sep 3, 2024
8a02c43
OP-290: phpstan fix
jkindly Sep 3, 2024
8f349b8
OP-290: phpunit fix
jkindly Sep 3, 2024
9dc5802
OP-290: behat fix
jkindly Sep 3, 2024
fc43ee3
Restyling and redefining fixtures for homepage, category, product and…
senghe Sep 3, 2024
773bd15
Fix PHPStan issues
senghe Sep 3, 2024
ded8685
Merge branch 'feature/OP-312-redesign-cms-plugin' into feature/OP-438
jkindly Sep 4, 2024
de4d028
Merge pull request #520 from BitBagCommerce/feature/OP-438
jkindly Sep 4, 2024
9844dff
Merge pull request #525 from BitBagCommerce/feature/OP-328
jkindly Sep 4, 2024
134c192
OP-290: Bumped PHP version to ^8.1
jkindly Aug 23, 2024
48039f9
OP-290: Move instaclick/php-webdriver to require-dev
jkindly Aug 23, 2024
7dbc1c8
OP-290: Remove conflicts as there is no more support for Sf 4
jkindly Aug 23, 2024
3ae568c
OP-290: Improve performance in assigners
jkindly Aug 23, 2024
a9b5b1e
OP-290: Remove AuthenticationManagerPolyfillPass.php as equivalent ex…
jkindly Aug 26, 2024
48e833a
OP-290: Remove $ from scripts because it makes it difficult to copy a…
jkindly Aug 26, 2024
b2ea87b
OP-290: Update installation.md and sitemap.md. Also change suggested …
jkindly Aug 26, 2024
3912b74
OP-290: Change namespace from BitBag\SyliusCmsPlugin\ to Sylius\CmsPl…
jkindly Aug 26, 2024
c2f0a60
OP-290: Change prefix from bitbag_ to sylius_
jkindly Aug 27, 2024
769ad3e
OP-290: Migration
jkindly Aug 27, 2024
2b908e1
OP-290: Move ImportFromCsvCommand.php to Console\Command namespace
jkindly Aug 28, 2024
d4f718b
OP-290: Change of API serialization groups
jkindly Aug 28, 2024
587e1c0
OP-290: Doctrine query extension to filter api responses
jkindly Aug 28, 2024
e96053d
OP-290: Template controller refactor
jkindly Aug 29, 2024
eba6d53
OP-290: Remove bitbag docblock at the top of files
jkindly Aug 29, 2024
23db299
OP-290: Remove sitemap info as it does not support sylius 1.13
jkindly Aug 29, 2024
24eb2e3
OP-290: Move resource definitions to Configuration tree instead of YA…
jkindly Aug 30, 2024
ffad32b
OP-290: change sylius_cms_plugin to sylius_cms and BitBagSyliusCmsPlu…
jkindly Aug 30, 2024
d9a9e5b
OP-290: rename everything related to bitbag, bit_bag etc.
jkindly Sep 2, 2024
1241adc
OP-290: .env.test update
jkindly Sep 2, 2024
6797e30
OP-290: tests
jkindly Sep 3, 2024
a49ac9d
OP-290: migration
jkindly Sep 3, 2024
9cd5104
OP-290: phpstan fix
jkindly Sep 3, 2024
9f3a359
OP-290: phpunit fix
jkindly Sep 3, 2024
799aab8
OP-290: behat fix
jkindly Sep 3, 2024
33aca3e
OP-290: conflicts resolve
jkindly Sep 4, 2024
ecb3c67
Merge remote-tracking branch 'origin/feature/OP-290' into feature/OP-290
jkindly Sep 4, 2024
1198616
OP-290: unused use statement
jkindly Sep 4, 2024
6646f0f
OP-290: behat fixes
jkindly Sep 4, 2024
c9933c5
Debugging behat scenario
senghe Sep 5, 2024
32f3036
Debugging behat scenario
senghe Sep 5, 2024
2d896c5
Debugging behat scenario
senghe Sep 5, 2024
7b269d2
Debugging behat scenario
senghe Sep 5, 2024
c068095
Debugging behat scenario
senghe Sep 5, 2024
1e6a844
Debugging behat scenario
senghe Sep 5, 2024
327f827
Debugging behat scenario
senghe Sep 5, 2024
a505793
Debugging behat scenario
senghe Sep 5, 2024
ede244d
Debugging behat scenario
senghe Sep 5, 2024
64a4b3e
Debugging behat scenario
senghe Sep 5, 2024
7d69b12
Debugging behat scenario
senghe Sep 5, 2024
6c09b11
Debugging behats
senghe Sep 5, 2024
fa190ca
Debugging behats
senghe Sep 5, 2024
2659221
Debugging behats
senghe Sep 5, 2024
b7a2ee8
Debugging behats
senghe Sep 5, 2024
1ed4717
Debugging behats
senghe Sep 5, 2024
830c68c
OP-290: behat fixes
jkindly Sep 5, 2024
cdb16e7
OP-290: behat fixes
jkindly Sep 5, 2024
e94dcdc
Merge pull request #529 from BitBagCommerce/feature/OP-290
jkindly Sep 6, 2024
660e8cd
OP-515: Change service definition for content elements
jkindly Sep 10, 2024
c388771
OP-515: Spec fixes
jkindly Sep 10, 2024
7a4c5ff
OP-515: Remove use template button
jkindly Sep 10, 2024
05d221b
OP-515: Behat fix
jkindly Sep 10, 2024
2e38292
Merge pull request #530 from BitBagCommerce/feature/OP-515
jkindly Sep 10, 2024
4bee2c9
OP-544: Page teaser translatable
jkindly Sep 11, 2024
5917fc5
OP-544: Mapping fix
jkindly Sep 11, 2024
1b21440
OP-543: Content elements translatable
jkindly Sep 13, 2024
0475fdc
OP-543: Fixtures fix and ECS
jkindly Sep 13, 2024
d2f4438
OP-543: Behat fixes
jkindly Sep 13, 2024
c31c6c5
OP-543: Behat fixes
jkindly Sep 13, 2024
2943635
Merge pull request #531 from BitBagCommerce/feature/OP-544
senghe Sep 16, 2024
3740621
Merge pull request #532 from BitBagCommerce/feature/OP-543
senghe Sep 16, 2024
fbc2c2e
OP-525: Content migration script
jkindly Sep 18, 2024
7a972e0
OP-525: PHPSpec fix
jkindly Sep 18, 2024
4252179
OP-525: PHPUnit fix
jkindly Sep 18, 2024
6344164
OP-545: Translations
jkindly Sep 19, 2024
1eb8aae
OP-545: Twig templates for blocks and pages
jkindly Sep 19, 2024
f1ad2ce
OP-545: Behat fix
jkindly Sep 19, 2024
a12fc54
OP-545: Behat
jkindly Sep 20, 2024
d80f659
OP-545: Behat TemplateContext.php
jkindly Sep 20, 2024
41302f5
OP-545: ECS
jkindly Sep 20, 2024
e4399d5
OP-545: Behat fix
jkindly Sep 20, 2024
b8e2cae
OP-545: API
jkindly Sep 24, 2024
c8dc43a
OP-525: Change helper to factory
jkindly Sep 24, 2024
4b028d9
Merge pull request #533 from BitBagCommerce/feature/OP-525
jkindly Sep 24, 2024
0847c33
OP-328: Docs
jkindly Sep 24, 2024
2c31636
Merge branch 'feature/OP-312-redesign-cms-plugin' into feature/OP-312…
senghe Sep 24, 2024
c1cf5ce
Fixing issues after upgrading to latest feature state
senghe Sep 24, 2024
a8f4500
Merge pull request #534 from BitBagCommerce/feature/OP-545
senghe Sep 25, 2024
f23d6a2
Merge branch 'feature/OP-312-redesign-cms-plugin' of github.com:BitBa…
senghe Sep 25, 2024
f46c8c6
OP-529: installation.md
jkindly Sep 25, 2024
84399b3
Add nice-looking fixtures
senghe Sep 26, 2024
6e35c34
Fix issues with homepage_taxons_list
senghe Sep 26, 2024
71c708a
Block and media adjustments
senghe Sep 26, 2024
2ba057a
Merge pull request #528 from BitBagCommerce/feature/OP-312-fixtures-s…
senghe Sep 27, 2024
1250eff
Merge pull request #535 from BitBagCommerce/feature/OP-328
senghe Sep 29, 2024
1e16214
Change docs images
senghe Sep 29, 2024
72ef503
Change missing doc image file
senghe Sep 29, 2024
c530cbb
Merge pull request #536 from BitBagCommerce/feature/OP-529
senghe Sep 29, 2024
a7e9c4d
Put fixtures into default CMS config
senghe Oct 3, 2024
4c1d985
Merge branch 'feature/OP-312-redesign-cms-plugin' of github.com:BitBa…
senghe Oct 3, 2024
bb5343c
Fix issue with loading fixture images on standalone project
senghe Oct 8, 2024
2d66c50
Update ContentConfiguration.orm.xml - put interfaces for block and pages
senghe Dec 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
116 changes: 15 additions & 101 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,126 +1,47 @@
# [![](https://bitbag.io/wp-content/uploads/2021/01/CMS.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_cms)

# BitBag SyliusCMSPlugin
# SyliusCMSPlugin

----

[![](https://img.shields.io/packagist/l/bitbag/cms-plugin.svg) ](https://packagist.org/packages/bitbag/cms-plugin "License") [ ![](https://img.shields.io/packagist/v/bitbag/cms-plugin.svg) ](https://packagist.org/packages/bitbag/cms-plugin "Version") [ ![](https://img.shields.io/github/actions/workflow/status/BitBagCommerce/SyliusCmsPlugin/build.yml) ](https://github.com/BitBagCommerce/SyliusCmsPlugin/actions "Build status") [ ![](https://img.shields.io/scrutinizer/g/BitBagCommerce/SyliusCMSPlugin.svg) ](https://scrutinizer-ci.com/g/BitBagCommerce/SyliusCMSPlugin/ "Scrutinizer") [![](https://poser.pugx.org/bitbag/cms-plugin/downloads)](https://packagist.org/packages/bitbag/cms-plugin "Total Downloads") [![Slack](https://img.shields.io/badge/community%20chat-slack-FF1493.svg)](http://sylius-devs.slack.com) [![Support](https://img.shields.io/badge/support-contact%20author-blue])](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_cms)

<p>
<img align="left" src="https://sylius.com/assets/badge-approved-by-sylius.png" width="85">
</p>

At BitBag we do believe in open source. However, we are able to do it just because of our awesome clients, who are kind enough to share some parts of our work with the community. Therefore, if you feel like there is a possibility for us to work together, feel free to reach out. You will find out more about our professional services, technologies, and contact details at [https://bitbag.io/](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_cms).

Like what we do? Want to join us? Check out our job listings on our [career page](https://bitbag.io/career/?utm_source=github&utm_medium=referral&utm_campaign=career). Not familiar with Symfony & Sylius yet, but still want to start with us? Join our [academy](https://bitbag.io/pl/akademia?utm_source=github&utm_medium=url&utm_campaign=akademia)!

## Table of Content

***

* [Overview](#overview)
* [Support](#we-are-here-to-help)
* [About us](#about-us)
* [Community](#community)
* [Demo](#demo-sylius-shop)
* [License](#license)
* [Contact](#contact)

# Overview

***

Almost every eCommerce app has to present some content. Managing it is often done via third-party libraries like WordPress, eZ Platform, or a built-in content management system. As Sylius does not have a CMS in the standard platform, we decided to develop our own, which will be as flexible as Sylius. This plugin allows you to add dynamic blocks with images, text or HTML to your storefront, as well as pages and FAQs section.
<img align="left" src="https://bitbag.io/wp-content/uploads/2021/01/Sylius-CMS-Plugin-Building-Block-1-1024x1024.png">
Almost every eCommerce app has to present some content. Managing it is often done via third-party libraries like WordPress,
eZ Platform, or a built-in content management system. As Sylius does not have a CMS in the standard platform,
we decided to develop our own, which will be as flexible as Sylius. This plugin allows you to add dynamic blocks and pages
with content elements to your storefront.

- [Use Case](doc/use_case.md)
- [Collections](doc/use_case_collections.md)
- [Content Templates](doc/use_case_content_templates.md)
- [Pages](doc/use_case_pages.md)
- [Blocks](doc/use_case_blocks.md)
- [Media](doc/use_case_media.md)
- [Installation](doc/installation.md)
- [Upgrading](UPGRADE.md)
- [Blocks](doc/blocks.md)
- [Collections](doc/collections.md)
- [Content Templates](doc/content_templates.md)
- [Pages](doc/pages.md)
- [Sections](doc/sections.md)
- [Blocks](doc/blocks.md)
- [Page/Block templates](doc/templates.md)
- [Media](doc/media.md)
- [FAQs](doc/faqs.md)
- [Fixtures](doc/fixtures.md)
- [WYSIWYG](doc/wysiwyg.md)
- [Importing resources](doc/importing-resources.md)
- [Using Twig functions in the admin panel](doc/twig-functions-in-admin.md)
- [Legacy data migration](doc/legacy_data_migration.md)
- [Sitemap](doc/sitemap.md)
- [Customization](doc/customization.md)

## We are here to help
This **open-source plugin was developed to help the Sylius community**. If you have any additional questions, would like help with installing or configuring the plugin, or need any assistance with your Sylius project - let us know!

[![](https://bitbag.io/wp-content/uploads/2020/10/button-contact.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_cms)

Read more about [Sylius CMS](https://bitbag.io/sylius-cms-all-you-need-to-know-3-implementation-methods/?utm_source=github&utm_medium=referral&utm_campaign=plugins_cms)

# About us

---

BitBag is a company of people who **love what they do** and do it right. We fulfill the eCommerce technology stack with **Sylius**, Shopware, Akeneo, and Pimcore for PIM, eZ Platform for CMS, and VueStorefront for PWA. Our goal is to provide real digital transformation with an agile solution that scales with the **clients’ needs**. Our main area of expertise includes eCommerce consulting and development for B2C, B2B, and Multi-vendor Marketplaces.</br>
We are advisers in the first place. We start each project with a diagnosis of problems, and an analysis of the needs and **goals** that the client wants to achieve.</br>
We build **unforgettable**, consistent digital customer journeys on top of the **best technologies**. Based on a detailed analysis of the goals and needs of a given organization, we create dedicated systems and applications that let businesses grow.<br>
Our team is fluent in **Polish, English, German and, French**. That is why our cooperation with clients from all over the world is smooth.

**Some numbers from BitBag regarding Sylius:**
- 50+ **experts** including consultants, UI/UX designers, Sylius trained front-end and back-end developers,
- 120+ projects **delivered** on top of Sylius,
- 25+ **countries** of BitBag’s customers,
- 4+ **years** in the Sylius ecosystem.

**Our services:**
- Business audit/Consulting in the field of **strategy** development,
- Data/shop **migration**,
- Headless **eCommerce**,
- Personalized **software** development,
- **Project** maintenance and long term support,
- Technical **support**.

**Key clients:** Mollie, Guave, P24, Folkstar, i-LUNCH, Elvi Project, WestCoast Gifts.

---

If you need some help with Sylius development, don't be hesitated to contact us directly. You can fill the form on [this site](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_cms) or send us an e-mail at [email protected]!

---

[![](https://bitbag.io/wp-content/uploads/2021/08/sylius-badges-transparent-wide.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_cms)

## Community

----

For online communication, we invite you to chat with us & other users on [Sylius Slack](https://sylius-devs.slack.com/).

# Demo Sylius Shop

---

We created a demo app with some useful use-cases of plugins!
Visit [sylius-demo.bitbag.io](https://sylius-demo.bitbag.io/) to take a look at it. The admin can be accessed under
[sylius-demo.bitbag.io/admin/login](https://sylius-demo.bitbag.io/admin/login) link and `bitbag: bitbag` credentials.
Plugins that we have used in the demo:

| BitBag's Plugin | GitHub | Sylius' Store|
| ------ | ------ | ------|
| ACL Plugin | *Private. Available after the purchasing.*| https://plugins.sylius.com/plugin/access-control-layer-plugin/|
| Braintree Plugin | https://github.com/BitBagCommerce/SyliusBraintreePlugin |https://plugins.sylius.com/plugin/braintree-plugin/|
| CMS Plugin | https://github.com/BitBagCommerce/SyliusCmsPlugin | https://plugins.sylius.com/plugin/cmsplugin/|
| Elasticsearch Plugin | https://github.com/BitBagCommerce/SyliusElasticsearchPlugin | https://plugins.sylius.com/plugin/2004/|
| Mailchimp Plugin | https://github.com/BitBagCommerce/SyliusMailChimpPlugin | https://plugins.sylius.com/plugin/mailchimp/ |
| Multisafepay Plugin | https://github.com/BitBagCommerce/SyliusMultiSafepayPlugin |
| Wishlist Plugin | https://github.com/BitBagCommerce/SyliusWishlistPlugin | https://plugins.sylius.com/plugin/wishlist-plugin/|
| **Sylius' Plugin** | **GitHub** | **Sylius' Store** |
| Admin Order Creation Plugin | https://github.com/Sylius/AdminOrderCreationPlugin | https://plugins.sylius.com/plugin/admin-order-creation-plugin/ |
| Invoicing Plugin | https://github.com/Sylius/InvoicingPlugin | https://plugins.sylius.com/plugin/invoicing-plugin/ |
| Refund Plugin | https://github.com/Sylius/RefundPlugin | https://plugins.sylius.com/plugin/refund-plugin/ |

**If you need an overview of Sylius' capabilities, schedule a consultation with our expert.**

[![](https://bitbag.io/wp-content/uploads/2020/10/button_free_consulatation-1.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_cms)

## Additional resources for developers

---
Expand All @@ -137,10 +58,3 @@ To learn more about our contribution workflow and more, we encourage you to use
This plugin's source code is completely free and released under the terms of the MIT license.

[//]: # (These are reference links used in the body of this note and get stripped out when the markdown processor does its job. There is no need to format nicely because it shouldn't be seen.)

## Contact

---
If you want to contact us, the best way is to fill the form on [our website](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_cms) or send us an e-mail to [email protected] with your question(s). We guarantee that we answer as soon as we can!

[![](https://bitbag.io/wp-content/uploads/2021/08/badges-bitbag.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_cms)
105 changes: 105 additions & 0 deletions UPGRADE-5.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
# UPGRADE FROM 4.2 TO 5.0

This upgrade is a major one, as it introduces a new feature - [Content Elements](doc/content_elements.md)
and removes the old way of creating blocks and pages.

* A lot of database modifications has been made. Read the below changelog first and then migrate your structure using
`bin/console doctrine:migrations:diff && bin/console doctrine:migrations:migrate` commands.
* Sections are now Collections, as it was a more suitable name for the feature.
* Pages and Blocks now have `Content elements` segment, where you can add elements to the page or block.
* Removed FAQ, as you can now create a FAQ page with the new content elements.
* Added new `Content Templates` section where you can create templates for your content elements. Read more about it in [Use case content templates](doc/use_case_content_templates.md)
and [Content Templates](doc/content_templates.md) docs.
* Removed CKEditor deprecation modal.
* Reordered forms/elements for functionality consistency.
* Updated import functionality to work with the new structure.
* Updated fixtures to work with the new structure
* Removed `sylius_cms_render_product_pages` twig extension.
* Removed support for rendering twig functions in WYSIWYG editor.
* Added twig extensions:
* `sylius_cms_render_collection`
* `sylius_cms_render_content_elements`

## Briefly about Content Elements

Content elements is a new segment in the block/page form where you can add elements that will be rendered on the store's frontend, like:
* Textarea
* Heading
* Images
* Products carousel
* etc.

> Read more about the content elements in the updated [Content elements](doc/content_elements.md) doc.

## Changes in Collections (old Sections)

### Added fields:

* Type
* Pages/Block/Media (depending on the chosen type)

### Moved fields:

* Name field has been moved from translations to the main settings tab

> Read more about the collections in the updated [Use case collections](doc/use_case_collections.md) and [Collections](doc/collections.md) docs.

## Changes in Pages

### Removed fields:

* Products
* Breadcrumb
* Name when linked
* Description when linked
* Image
* Content
* Title

### Added fields

* Teaser title
* Teaser content
* Teaser image

### Moved fields

* Name field has been moved from translations to the main settings tab

> Read more about the pages in the updated [Use case pages](doc/use_case_pages.md) and [Pages](doc/pages.md) docs.

## Changes in Blocks

### Removed fields:

* Products
* Taxons
* Whole translations tab

### Added fields

* Name
* Locales
* Display for products
* Display for products in taxons
* Display for taxons

> Read more about the blocks in the updated [Use case blocks](doc/use_case_blocks.md) and [Blocks](doc/blocks.md) docs.

## Changes in Media

### Removed fields:

* Products

### Added fields

* Media preview with path

### Moved fields

* Name field has been moved from translations to the main settings tab

### Renamed fields

* Content -> Link content
2 changes: 1 addition & 1 deletion UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ structure using `bin/console doctrine:migrations:diff && bin/console doctrine:mi
use raw content in [WYSIWYG editor](doc/wysiwyg.md)
* Chanel awareness has been added to pages, blocks, FAQs, sections and media. That being said, many
repository methods changed their signatures. In case you customized them in your src, check
new signatures in interfaces under [BitBag\SyliusCmsPlugin\Repository](src/Repository) namespace
new signatures in interfaces under [Sylius\CmsPlugin\Repository](src/Repository) namespace
* WYSIWYG editor has been introduced. You will need to import it in your AppKernel and install
its assets. For more, check the [installation guide](doc/installation.md)
* Sitemap support was added, you will need to enable extra bundle in your AppKernel. Read more
Expand Down
2 changes: 1 addition & 1 deletion behat.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ default:
FriendsOfBehat\SymfonyExtension:
bootstrap: tests/Application/config/bootstrap.php
kernel:
class: Tests\BitBag\SyliusCmsPlugin\Application\Kernel
class: Tests\Sylius\CmsPlugin\Application\Kernel

FriendsOfBehat\VariadicExtension: ~

Expand Down
19 changes: 6 additions & 13 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@
"description": "CMS plugin for Sylius applications.",
"license": "MIT",
"require": {
"php": "^8.0",
"php": "^8.1",
"sylius/sylius": "^1.12.0 || ^1.13.0",
"league/csv": "^9.1",
"friendsofsymfony/ckeditor-bundle": "^2.0",
"instaclick/php-webdriver": "^1.4",
"symfony/webpack-encore-bundle": "^1.12"
},
"require-dev": {
Expand All @@ -31,6 +30,7 @@
"friends-of-behat/suite-settings-extension": "^1.0",
"friends-of-behat/symfony-extension": "^2.1",
"friends-of-behat/variadic-extension": "^1.3",
"instaclick/php-webdriver": "^1.4",
"lchrusciel/api-test-case": "^4.1 || ^5.0",
"matthiasnoback/symfony-config-test": "^5.1",
"phpspec/phpspec": "^7.2",
Expand All @@ -51,26 +51,19 @@
"symfony/runtime": "^5.4 || ^6.4",
"symfony/web-profiler-bundle": "^5.4 || ^6.4"
},
"conflict": {
"symfony/symfony": "4.1.8",
"symfony/browser-kit": "4.1.8",
"symfony/dom-crawler": "4.1.8",
"symfony/routing": "4.1.8",
"symfony/doctrine-bridge": "4.4.16"
},
"suggest": {
"stefandoorn/sitemap-plugin": "^2.0@alpha"
"stefandoorn/sitemap-plugin": "^2.2"
},
"prefer-stable": true,
"autoload": {
"psr-4": {
"BitBag\\SyliusCmsPlugin\\": "src/",
"Tests\\BitBag\\SyliusCmsPlugin\\": "tests/"
"Sylius\\CmsPlugin\\": "src/",
"Tests\\Sylius\\CmsPlugin\\": "tests/"
}
},
"autoload-dev": {
"psr-4": {
"spec\\BitBag\\SyliusCmsPlugin\\": "spec/"
"spec\\Sylius\\CmsPlugin\\": "spec/"
},
"classmap": ["tests/Application/Kernel.php"]
},
Expand Down
22 changes: 11 additions & 11 deletions doc/01.1-webpack-config.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BitBag SyliusCmsPlugin
# SyliusCmsPlugin

- [⬅️ Back](./installation.md)

Expand All @@ -13,10 +13,10 @@

```js
// webpack.config.js
const [ bitbagCmsShop, bitbagCmsAdmin ] = require('./vendor/bitbag/cms-plugin/webpack.config.js')
const [ cmsShop, cmsAdmin ] = require('./vendor/bitbag/cms-plugin/webpack.config.js')
...

module.exports = [..., bitbagCmsShop, bitbagCmsAdmin];
module.exports = [..., cmsShop, cmsAdmin];
```

2. Add new packages in `./config/packages/assets.yaml`
Expand All @@ -29,9 +29,9 @@ framework:
packages:
# ...
cms_shop:
json_manifest_path: '%kernel.project_dir%/public/build/bitbag/cms/shop/manifest.json'
json_manifest_path: '%kernel.project_dir%/public/build/cms/shop/manifest.json'
cms_admin:
json_manifest_path: '%kernel.project_dir%/public/build/bitbag/cms/admin/manifest.json'
json_manifest_path: '%kernel.project_dir%/public/build/cms/admin/manifest.json'
```

3. Add new build paths in `./config/packages/webpack_encore.yml`
Expand All @@ -42,24 +42,24 @@ framework:
webpack_encore:
builds:
# ...
cms_shop: '%kernel.project_dir%/public/build/bitbag/cms/shop'
cms_admin: '%kernel.project_dir%/public/build/bitbag/cms/admin'
cms_shop: '%kernel.project_dir%/public/build/cms/shop'
cms_admin: '%kernel.project_dir%/public/build/cms/admin'
```

4. Add encore functions to your templates

```twig
{# @SyliusShopBundle/_scripts.html.twig #}
{{ encore_entry_script_tags('bitbag-cms-shop', null, 'cms_shop') }}
{{ encore_entry_script_tags('sylius-cms-shop', null, 'cms_shop') }}

{# @SyliusShopBundle/_styles.html.twig #}
{{ encore_entry_link_tags('bitbag-cms-shop', null, 'cms_shop') }}
{{ encore_entry_link_tags('sylius-cms-shop', null, 'cms_shop') }}

{# @SyliusAdminBundle/_scripts.html.twig #}
{{ encore_entry_script_tags('bitbag-cms-admin', null, 'cms_admin') }}
{{ encore_entry_script_tags('sylius-cms-admin', null, 'cms_admin') }}

{# @SyliusAdminBundle/_styles.html.twig #}
{{ encore_entry_link_tags('bitbag-cms-admin', null, 'cms_admin') }}
{{ encore_entry_link_tags('sylius-cms-admin', null, 'cms_admin') }}
```

5. Run `yarn encore dev` or `yarn encore production`
Loading
Loading