-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OP-328: Update readme, docs and add UPGRADE-5.0.md
- Loading branch information
Showing
74 changed files
with
438 additions
and
386 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 `Templates` section where you can create templates for your content elements. Read more about it in [Use case templates](doc/use_case_templates.md) | ||
and [Templates](doc/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 `bitbag_cms_render_product_pages` twig extension. | ||
* Removed support for rendering twig functions in WYSIWYG editor. | ||
* Added twig extensions: | ||
* `bitbag_cms_render_collection` | ||
* `bitbag_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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Heading content element | ||
|
||
Heading content element allows you to add a heading (from H1 to H6) to your block or page. | ||
|
||
## View in admin panel | ||
|
||
![Heading in admin panel](heading1.png) | ||
|
||
## View in front page | ||
|
||
![Heading in front page](heading2.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Multiple media content element | ||
|
||
Multiple media content element allows you to add multiple media (images, videos, or files) | ||
from the media library to your block or page. | ||
|
||
## View in admin panel | ||
|
||
![Multiple media in admin panel](multiple_media1.png) | ||
|
||
## View in front page | ||
|
||
![Multiple media in front page](multiple_media2.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Pages collection content element | ||
|
||
Pages collection content element renders a pages from a selected collection. | ||
|
||
## View in admin panel | ||
|
||
![Pages collection in admin panel](pages_collection1.png) | ||
|
||
## View in front page | ||
|
||
![Pages collection in front page](pages_collection2.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Products carousel content element | ||
|
||
Products carousel content element allows you to add a carousel with shop products to your block or page. | ||
|
||
## View in admin panel | ||
|
||
![Products carousel in admin panel](products_carousel1.png) | ||
|
||
## View in front page | ||
|
||
![Products carousel in front page](products_carousel2.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Products carousel by Taxon content element | ||
|
||
Products carousel by Taxon content element allows you to add a carousel | ||
with shop products from specified taxon to your block or page. | ||
|
||
## View in admin panel | ||
|
||
![Products carousel by Taxon in admin panel](products_carousel_by_taxon1.png) | ||
|
||
## View in front page | ||
|
||
![Products carousel by Taxon in front page](products_carousel2.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Products grid content element | ||
|
||
Products grid content element allows you to add a grid with | ||
shop products to your block or page. | ||
|
||
## View in admin panel | ||
|
||
![Products grid in admin panel](products_grid1.png) | ||
|
||
## View in front page | ||
|
||
![Products grid in front page](products_grid2.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Products grid by Taxon content element | ||
|
||
Products grid by Taxon content element allows you to add a grid | ||
with shop products from specified taxon to your block or page. | ||
|
||
## View in admin panel | ||
|
||
![Products grid by Taxon in admin panel](products_grid_by_taxon1.png) | ||
|
||
## View in front page | ||
|
||
![Products grid by Taxon in front page](products_grid2.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Single media content element | ||
|
||
Single media content element allows you to add a single media (image, video, or file) | ||
from the media library to your block or page. | ||
|
||
## View in admin panel | ||
|
||
![Single media in admin panel](single_media1.png) | ||
|
||
## View in front page | ||
|
||
![Single media in front page](single_media2.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Spacer content element | ||
|
||
Spacer content element allows you to add a space in pixels | ||
between content elements to your block or page. | ||
|
||
## View in admin panel | ||
|
||
![Spacer in admin panel](spacer1.png) | ||
|
||
## View in front page | ||
|
||
![Spacer in front page](spacer2.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Taxons list content element | ||
|
||
Taxons list content element allows you to add a list of taxons | ||
to your block or page. | ||
|
||
## View in admin panel | ||
|
||
![Taxons list in admin panel](taxons_list1.png) | ||
|
||
## View in front page | ||
|
||
![Taxons list in front page](taxons_list2.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Textarea content element | ||
|
||
Textarea content element allows you to add a simple text area to your block or page | ||
with WYSIWYG editor (CKEditor). | ||
|
||
## View in admin panel | ||
|
||
![Textarea in admin panel](textarea1.png) | ||
|
||
## View in front page | ||
|
||
![Textarea in front page](textarea2.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.