I have been trying to change the size of the category icons. Am I correct that the procedure is to create
/XLite/modules/MyName/MyThemeName/View/Subcategories.php
which has the code
Code:
namespace XLite\Module\MyName\MyThemeName\View;
class Subcategories extends \XLite\View\Subcategories implements \XLite\Base\IDecorator
{
protected function defineWidgetParams()
{
parent::defineWidgetParams();
$this->widgetParams += array(
self::PARAM_DISPLAY_MODE => new \XLite\Model\WidgetParam\Set(
'Display mode', $this->getDisplayMode(), true, $this->displayModes
),
self::PARAM_ICON_MAX_WIDTH => new \XLite\Model\WidgetParam\Int(
'Maximal icon width', 200, true
),
self::PARAM_ICON_MAX_HEIGHT => new \XLite\Model\WidgetParam\Int(
'Maximal icon height', 200, true
),
);
}
}
to change icon size to 200px? It doesn't seem to work for me. Icons remain at 160px.