I was overriding core temlates with an override.
In category.php instead of loading the default item for leading items i want to add a subn templatefor leading items.
So instead of this:
// Load category_item.php by default
$this->item=$item;
echo $this->loadTemplate('item');
I have :
// Load category_item_leading.php by default
$this->item=$item;
echo $this->loadTemplate('item_leading');
This give me my own template for leading items.Hooray
IN my 'category_item_leading' I acces the item content just like you would think:
eg title = $this->item>title
BUT!!!
'$this->item-image' is always null.
This is not null in the 'category_item.php' sub template.
This doesnt make sense to me but image variable for item can be accessed like this:
'$this->item->imageXSmall'
Is it a bug?
In category.php instead of loading the default item for leading items i want to add a subn templatefor leading items.
So instead of this:
// Load category_item.php by default
$this->item=$item;
echo $this->loadTemplate('item');
I have :
// Load category_item_leading.php by default
$this->item=$item;
echo $this->loadTemplate('item_leading');
This give me my own template for leading items.Hooray
IN my 'category_item_leading' I acces the item content just like you would think:
eg title = $this->item>title
BUT!!!
'$this->item-image' is always null.
This is not null in the 'category_item.php' sub template.
This doesnt make sense to me but image variable for item can be accessed like this:
'$this->item->imageXSmall'
Is it a bug?