Peggy Gadiou
|
Thursday 14 August 2008 2:23:36 am
Hello I want know how fetch a xmlblock attribute?? I have my class like this :
myClass
classement : xmlblock
name : textLine
Labels : xmlblock
city : textLine
And my fetch is :
{def $name = '*'}
{def $com= '*'}
{def $lab= '*'}
{set $children=fetch('content','list',hash(
'parent_node_id',$node.node_id,
'sort_by', array( 'attribute',true(),'myClass/city' ),
'limit',$page_limit,
'offset',$view_parameters.offset,
'attribute_filter',array(
array(myClass/name,'like',$name),
array(myClass/city','like', $com),
array(myClass/Labels,'like', $lab))
))
When I tryed only with name or city it's work,
When I tryed with name and city it's work, but when I tryed with label attribute... I cry help me please... Thank
|