Friday 03 April 2009 7:37:38 am
Hi, i think you have an error on your fetch function. you have write this :
{def $widgets=fetch( 'content', 'list', hash(
'parent_node_id', 2,
'class_filter_array', array( 'widgetPLE' ),
) )}
but you don't specify the
class_filter_type
parameter in your fetch and your
class_filter_array
have
array('WidgetPLE') as value
which is not the same with your identifier class in override.
[widget]
Source=node/view/full.tpl
MatchFile=abstract.tpl
Subdir=templates
Match[class_identifier]=widget
so try this code :
{def $widgets=fetch('content','list',hash('parent_node_id',2,
'class_filter_type',include,
'class_filter_array',array('widget')
)
)
}
and had your foreach
i think this can help you. good luck
The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.
Albert Einstein
|