{def $pagedata = ezpagedata() $current_node_id = $pagedata.node_id} {if and(is_set($current_node_id), $current_node_id|gt(0))} {def $current_node = fetch(content, node, hash(node_id, $current_node_id))} {/if} {if is_set($current_node)}{$current_node.name}{else}Nuxeo{/if} {literal} {/literal} {$current_node.data_map.html.content}
{attribute_view_gui attribute=$current_node.data_map.body}
{* NETGEN 2013-06-11 PLACEHOLDER FOR LATEST BLOGS LIST *} {cache-block expiry=3600}
{/cache-block} {* NETGEN 2013-06-11 LATEST 5 UPCOMING WEBINARS *} {def $webinars_node_id = ezini('ResourceCenterNode', 'WebinarsNodeID', 'nuxeo.ini') $curdate = currentdate() $webinar_events = fetch( 'content', 'tree', hash( 'parent_node_id', $webinars_node_id, 'limit', 5, 'class_filter_type', 'include', 'class_filter_array', array('webinar_event'), 'attribute_filter', array( array( 'webinar_event/date_begin', '>=', $curdate ) ), 'sort_by', array( 'attribute', true(), 'webinar_event/date_begin' ) ) ) } {if $webinar_events|count|gt(0)}

Upcoming webinars

{foreach $webinar_events as $event}
{def $curr_lang = ezini('RegionalSettings', 'ContentObjectLocale')} {if eq($curr_lang, 'eng-US')} {$event.data_map.date_begin.content.timestamp|timezone_update('result_type','embed')} {else} {$event.data_map.date_begin.content.timestamp|datetime( 'custom', '%n/%j/%Y' )} {$event.data_map.date_begin.content.timestamp|datetime( 'custom', '%H:%i %T' )} {/if} {undef $curr_lang} {$event.parent.name}
{/foreach}
{/if} {* NETGEN 2013-06-11 BODY HTML BLOCK *}
{$current_node.data_map.body_html.content}
{literal} {/literal} {* NETGEN 2013-06-11 LATEST BLOGS LIST SCRIPT *} {ezscript_load( array( 'ezjsc::jquery', 'ezjsc::jqueryio', 'jquery.xml2json.min.js' ) )} {* END LATEST BLOGS LIST SCRIPT *}