View Single Post
  #66  
Old 02-15-2015, 02:51 PM
 
minfinger minfinger is offline
 

X-Adept
  
Join Date: Apr 2009
Posts: 678
 

Default Re: All Products on front page, similar to featured products

Tony,

This is the most recent code that I've been working with using your ProductsDemo download and all I'm getting is the image below. I've tried using the iDecorator in many different forms and I'm not getting any results. I feel like if I can get this part of the mod figured out I can make my original Mod work properly.
PHP Code:
<?php 

namespace XLite\Module\Tony\ProductsDemo\View\ItemsList\Product\Customer

/** 
 * 
 * @ListChild (list="center.bottom", zone="customer", weight="300") 
 */ 

class AllProducts extends \XLite\View\ItemsList\Product\Customer\ACustomer

    protected function 
defineWidgetParams()
    {
        
parent::defineWidgetParams();

        
$this->widgetParams[self::PARAM_SHOW_DISPLAY_MODE_SELECTOR]->setValue(false); 
        
$this->widgetParams[self::PARAM_SHOW_SORT_BY_SELECTOR]->setValue(false); 
    }

    protected function 
setWidgetParams()
    {
        
parent::setWidgetParams();
 
        
$this->widgetParams[static::PARAM_GRID_COLUMNS]->setValue(static::DISPLAY_MODE_LIST);
    }
http://i21.photobucket.com/albums/b298/fasterthanyours/All%20Products%20List%20via%20Tonys%20Mod.jpg
__________________
X-Cart 4.3
Joomla
Among other things
Reply With Quote