You have to hook into $controller method to customize it, as described here: http://get-simple.info/forums/showthread...3#pid63413. To be more exact, you have to hook in __renderFrontendItemList() instead. To do that, you should expand your extender like this:
Then you have to write renderFrontendItemList($args = null) method, that replaces the default __renderFrontendItemList($args = null), see controller.php.
Attention to the potential conflicts between Util of the IM and Util of the SimpleCatalog, if you want to call the SC Util methods you'll need to use namespace in your im_sc_extender.php e.g:
Then you call it like this:
In order to show all the items of all your categories, you have to paste the code from the __renderFrontendItemList($args = null) method into your renderFrontendItemList($args = null) and then change it a bit.
So, your method must look something like this (not tested): https://gist.github.com/bigin/e6cfffe54e...9203a1a767
PHP Code:
...
public function renderSection($sectionName, $params = array())
{
if($sectionName == 'FrontendItemList') {
$this->renderFrontendItemList($params);
...
}
Then you have to write renderFrontendItemList($args = null) method, that replaces the default __renderFrontendItemList($args = null), see controller.php.
Attention to the potential conflicts between Util of the IM and Util of the SimpleCatalog, if you want to call the SC Util methods you'll need to use namespace in your im_sc_extender.php e.g:
PHP Code:
use ImCatalog\Util as U;
Then you call it like this:
PHP Code:
U::getResizedUrl(...);
In order to show all the items of all your categories, you have to paste the code from the __renderFrontendItemList($args = null) method into your renderFrontendItemList($args = null) and then change it a bit.
So, your method must look something like this (not tested): https://gist.github.com/bigin/e6cfffe54e...9203a1a767