{literal} {/literal}
Getting Started
• Latest version of the user guide for Nuxeo DAM.
• Nuxeo Community Forum for Nuxeo DAM.
Hot News
{*NEWS LIST*} {def $foldernode = fetch( 'content', 'node', hash('node_id', 66 ) ) $curdate=currentdate() $children=fetch( 'content', 'list', hash( 'parent_node_id', $foldernode.node_id, 'limit', 10, 'class_filter_type', 'include', 'class_filter_array', array('news'), 'attribute_filter', array( array( 'news/publish_date', '<=', $curdate ) ), 'sort_by', array( 'attribute', false(),'news/publish_date' ) ) ) } {if $children|count()}
{foreach $children as $child}
{*$curdate|datetime( 'custom', ' %d %M %y' )*} {$child.data_map.publish_date.value.timestamp|datetime( 'custom', '%n/%d/%Y' )}
{$child.name|wash}
{/foreach}
{/if} {*End of the news list*}