categories's images at 'catalog/filter'
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
categories's images at 'catalog/filter'
Hi
I want to use categories's images at 'catalog/filter'. I see the code at client\html\templates\catalog\filter\tree-default.php:
I think it should render me some images but it does not. There are no one $listItem at "foreach" block.
I think it depends on some aimeos settings but i did not find anything at the documentation.
I want to use categories's images at 'catalog/filter'. I see the code at client\html\templates\catalog\filter\tree-default.php:
Code: Select all
<div class="media-list"><!--
<?php foreach( $item->getListItems( 'media', 'icon' ) as $listItem ) : ?>
<?php if( ( $mediaItem = $listItem->getRefItem() ) !== null ) : ?>
<?= '-->' . $this->partial(
$this->config( 'client/html/common/partials/media', 'common/partials/media-default.php' ),
array( 'item' => $mediaItem, 'boxAttributes' => array( 'class' => 'media-item' ) )
) . '<!--'; ?>
<?php endif; ?>
<?php endforeach; ?>
--></div>
I think it depends on some aimeos settings but i did not find anything at the documentation.
Laravel 6.18.19 | php 7.4.7 | Xubuntu | Aimeos Laravel 2019.10.5
Re: categories's images at 'catalog/filter'
Maybe it's only the list type that's not 'icon'. In 2017.10, you can't change the list type in the JQAdm interface. That will be possible in 2018.01 and is possible in your version in the expert mode interface.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star