This repository has been archived by the owner on Apr 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/88575' into develop
- Loading branch information
Showing
17 changed files
with
272 additions
and
12 deletions.
There are no files selected for viewing
46 changes: 46 additions & 0 deletions
46
Blackbird_ContentManager/layout/CONTENT_LIST_VIEW_blog.xml
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,46 @@ | ||
<?xml version="1.0"?> | ||
<page | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
layout="1column" | ||
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd" | ||
> | ||
<body> | ||
<referenceBlock | ||
name="contentmanager_contentlist" | ||
template="Blackbird_ContentManager::content/view/articles/list.phtml" | ||
> | ||
<block | ||
class="Magento\Framework\View\Element\Template" | ||
name="blog-thumbnail" | ||
template="Magento_Theme::html/picture.phtml" | ||
/> | ||
<block class="Blackbird\ContentManager\Block\Filter" name="blog-filter"> | ||
<action method="setFilters"> | ||
<argument name="filters" xsi:type="array"> | ||
<item name="1" xsi:type="string">cb_article_category</item> | ||
</argument> | ||
</action> | ||
<action method="setCtType"> | ||
<argument name="type" xsi:type="string">articles</argument> | ||
</action> | ||
</block> | ||
<block | ||
class="Blackbird\ContentManager\Block\Content\Widget\ContentList" | ||
name="recent-articles" | ||
> | ||
<action method="setCtType"> | ||
<argument name="type" xsi:type="string">articles</argument> | ||
</action> | ||
<action method="setOrderField"> | ||
<argument name="order_field" xsi:type="string">cb_article_date</argument> | ||
</action> | ||
<action method="setSortOrder"> | ||
<argument name="sort_order" xsi:type="string">DESC</argument> | ||
</action> | ||
<action method="setLimitDisplay"> | ||
<argument name="limit_display" xsi:type="string">6</argument> | ||
</action> | ||
</block> | ||
</referenceBlock> | ||
</body> | ||
</page> |
46 changes: 46 additions & 0 deletions
46
Blackbird_ContentManager/layout/CONTENT_TYPE_VIEW_articles.xml
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,46 @@ | ||
<?xml version="1.0"?> | ||
<page | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
layout="1column" | ||
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd" | ||
> | ||
<body> | ||
<referenceBlock | ||
name="contentmanager_view" | ||
template="Blackbird_ContentManager::content/view/articles/view.phtml" | ||
> | ||
<block | ||
class="Magento\Framework\View\Element\Template" | ||
name="article-image" | ||
template="Magento_Theme::html/picture.phtml" | ||
/> | ||
<block class="Blackbird\ContentManager\Block\Filter" name="blog-filter"> | ||
<action method="setFilters"> | ||
<argument name="filters" xsi:type="array"> | ||
<item name="1" xsi:type="string">cb_article_category</item> | ||
</argument> | ||
</action> | ||
<action method="setCtType"> | ||
<argument name="type" xsi:type="string">articles</argument> | ||
</action> | ||
</block> | ||
<block | ||
class="Blackbird\ContentManager\Block\Content\Widget\ContentList" | ||
name="recent-articles" | ||
> | ||
<action method="setCtType"> | ||
<argument name="type" xsi:type="string">articles</argument> | ||
</action> | ||
<action method="setOrderField"> | ||
<argument name="order_field" xsi:type="string">cb_article_date</argument> | ||
</action> | ||
<action method="setSortOrder"> | ||
<argument name="sort_order" xsi:type="string">DESC</argument> | ||
</action> | ||
<action method="setLimitDisplay"> | ||
<argument name="limit_display" xsi:type="string">6</argument> | ||
</action> | ||
</block> | ||
</referenceBlock> | ||
</body> | ||
</page> |
13 changes: 13 additions & 0 deletions
13
Blackbird_ContentManager/layout/catalogsearch_result_index.xml
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,13 @@ | ||
<?xml version="1.0"?> | ||
<page | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
layout="2columns-left" | ||
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd" | ||
> | ||
<body> | ||
<referenceBlock | ||
name="search.content.result" | ||
remove="true" | ||
/> | ||
</body> | ||
</page> |
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,130 @@ | ||
<?xml version="1.0"?> | ||
<page | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd" | ||
> | ||
<update handle="cms_page_view" /> | ||
<body> | ||
<referenceContainer name="content" htmlClass="home"> | ||
<!-- Main slider --> | ||
<container | ||
name="section.home.slider" | ||
htmlTag="section" | ||
htmlClass="section section--secondary" | ||
before="-" | ||
> | ||
<container | ||
name="section.home.slider.content" | ||
htmlTag="div" | ||
htmlClass="section__content" | ||
> | ||
<block | ||
class="Blackbird\ContentManager\Block\Content\Widget\ContentList" | ||
name="home-slider" | ||
template="Blackbird_ContentManager::content/view/sliders/list.phtml" | ||
> | ||
<arguments> | ||
<argument name="slider_picture_block" xsi:type="string">homepage-picture</argument> | ||
<argument name="slider_block" xsi:type="string">homepage-slider</argument> | ||
<argument name="lazy" xsi:type="boolean">false</argument> | ||
</arguments> | ||
<action method="setCtType"> | ||
<argument name="type" xsi:type="string">sliders</argument> | ||
</action> | ||
<action method="setPager"> | ||
<argument name="pager" xsi:type="boolean">false</argument> | ||
</action> | ||
<action method="setLimitDisplay"> | ||
<argument name="limit_display" xsi:type="string">1</argument> | ||
</action> | ||
<action method="addAttributeToFilter"> | ||
<argument name="attribute" xsi:type="string">cb_slider_id</argument> | ||
<argument name="condition" xsi:type="string">eq</argument> | ||
<argument name="value" xsi:type="string">home-slider</argument> | ||
</action> | ||
|
||
<block | ||
class="Magento\Framework\View\Element\Template" | ||
name="homepage-picture" | ||
template="Magento_Theme::html/picture.phtml" | ||
/> | ||
|
||
<block | ||
class="Magento\Framework\View\Element\Template" | ||
name="homepage-slider" | ||
template="Magento_Theme::html/slider.phtml" | ||
/> | ||
</block> | ||
</container> | ||
</container> | ||
|
||
|
||
<!-- Top brands (slider) --> | ||
<container | ||
name="home-brands-section" | ||
htmlTag="section" | ||
htmlClass="section" | ||
before="home-content" | ||
> | ||
<container | ||
name="home-brands-container" | ||
htmlTag="div" | ||
htmlClass="section__content" | ||
> | ||
<block | ||
class="Blackbird\ContentManager\Block\Content\Widget\ContentList" | ||
name="brands-slider" | ||
template="Blackbird_ContentManager::content/view/sliders/list.phtml" | ||
> | ||
<arguments> | ||
<argument name="slider_picture_block" xsi:type="string">brand-picture</argument> | ||
<argument name="slider_block" xsi:type="string">brand-slider</argument> | ||
<argument name="slider_class" xsi:type="string">slider--brands</argument> | ||
<argument | ||
name="slider_title_class" | ||
xsi:type="string" | ||
> | ||
heading heading--first-level margin-0 | ||
</argument> | ||
</arguments> | ||
<action method="setCtType"> | ||
<argument name="type" xsi:type="string">sliders</argument> | ||
</action> | ||
<action method="setPager"> | ||
<argument name="pager" xsi:type="boolean">false</argument> | ||
</action> | ||
<action method="setLimitDisplay"> | ||
<argument name="limit_display" xsi:type="string">1</argument> | ||
</action> | ||
<action method="addAttributeToFilter"> | ||
<argument name="attribute" xsi:type="string">cb_slider_id</argument> | ||
<argument name="condition" xsi:type="string">eq</argument> | ||
<argument name="value" xsi:type="string">brands-slider</argument> | ||
</action> | ||
|
||
<block | ||
class="Magento\Framework\View\Element\Template" | ||
name="brand-picture" | ||
template="Magento_Theme::html/picture.phtml" | ||
/> | ||
|
||
<block | ||
class="Magento\Framework\View\Element\Template" | ||
name="brand-slider" | ||
template="Magento_Theme::html/slider.phtml" | ||
> | ||
<arguments> | ||
<argument | ||
name="slider_title_class" | ||
xsi:type="string" | ||
> | ||
heading heading--first-level margin-0 | ||
</argument> | ||
</arguments> | ||
</block> | ||
</block> | ||
</container> | ||
</container> | ||
</referenceContainer> | ||
</body> | ||
</page> |
10 changes: 10 additions & 0 deletions
10
Blackbird_ContentManager/layout/contentmanager_index_content.xml
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,10 @@ | ||
<?xml version="1.0"?> | ||
<page | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
layout="1column" | ||
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd" | ||
> | ||
<head> | ||
<remove src="Blackbird_ContentManager::css/content.css"/> | ||
</head> | ||
</page> |
10 changes: 10 additions & 0 deletions
10
Blackbird_ContentManager/layout/contentmanager_index_contentlist.xml
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,10 @@ | ||
<?xml version="1.0"?> | ||
<page | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
layout="1column" | ||
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd" | ||
> | ||
<head> | ||
<remove src="Blackbird_ContentManager::css/content.css"/> | ||
</head> | ||
</page> |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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
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
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