Skip to content

Commit

Permalink
https://github.com/cabinetsbay/core/issues/6
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed May 7, 2024
1 parent 9a23c1d commit f092810
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ else {
# 1) "The `H1` tag is duplicated on the frontend category pages": https://github.com/cabinetsbay/site/issues/104
# 2) "Category names are not shown on narrow screens": https://github.com/cabinetsbay/site/issues/108
echo $b->title();
echo df_block_output('CabinetsBay_Core', 'catalog/category/tabs', ['b' => $b]);
echo df_block_output('CabinetsBay_Catalog', 'category/tabs', ['b' => $b]);
}
if ($b->isContentMode() || $b->isMixedMode()) {
?><div class="category-cms"><?= $b->getCmsBlockHtml() ?></div><?php
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use Sharapov\Cabinetsbay\Block\Category\View as B;
/** @var B $block */ $b = $block; /** @var B $b */
$echo = function(string ...$tt) use($b):void {
df_map($tt, function(string $t) use($b):void {
echo df_block_output('CabinetsBay_Core', "catalog/category/$t", ['b' => $b]);
echo df_block_output('CabinetsBay_Catalog', "category/$t", ['b' => $b]);
});
};
if (2 === $b->level()) {
Expand Down

0 comments on commit f092810

Please sign in to comment.