Quote:
Originally Posted by minfinger
That got the front page to show the products, but only in Grid Mode.
|
I see. Please replace this line
PHP Code:
$this->widgetParams[static::PARAM_GRID_COLUMNS]->setValue(static::DISPLAY_MODE_LIST);
with the next one:
PHP Code:
$this->widgetParams[static::PARAM_DISPLAY_MODE]->setValue(static::DISPLAY_MODE_LIST);
and it should do the trick.