Forums / Developer / Attend a event / Comment50635

Author Topic

Steffen Amundsen

Friday 30 January 2009 7:21:02 am

Comment50635

I think I got it:

{def $user=fetch( 'user', 'current_user' )}
{def $count=fetch( 'content', 'list_count', hash( 
			'parent_node_id', $node.node_id,
			'attribute_filter',$user,
			depth,2,
            class_filter_type, include,
            class_filter_array, array( 'attend' )) )}

{section show=$count|gt(0)}
har meldt på
{section-else}
har ikke
{/section}

Thanks