{def $left_menu_depth = $pagedata.current_menu|eq('LeftOnly')|choose( 1, 0 ) $left_menu_root_url = cond( $pagedata.path_array[ $left_menu_depth ].url_alias, $pagedata.path_array[ $left_menu_depth ].url_alias, $requested_uri_string )}

{$pagedata.path_array[ $left_menu_depth ].text}

{if ne( $pagedata.class_identifier, 'documentation_page' )} {def $root_node=fetch( 'content', 'node', hash( 'node_id', $pagedata.path_array[$left_menu_depth].node_id ) ) $left_menu_items = fetch( 'content', 'list', hash( 'parent_node_id', $root_node.node_id, 'sort_by', $root_node.sort_array, 'data_map_load', false(), 'extended_attribute_filter', hash( 'id','InMenuFilter', 'params', hash('menu', 'left', 'classes', array('folder','product_sheet','solution','resource_center','resource_category','plain_page','search_engine_partner')) ) ) ) $left_menu_items_count = $left_menu_items|count() $li_class = array() $a_class = array() $current_node_in_path_2 = first_set( $pagedata.path_array[$left_menu_depth|inc].node_id, 0 ) $current_node_in_path_3 = first_set( $pagedata.path_array[$left_menu_depth|sum(2)].node_id, 0 ) $current_node_in_path_4 = first_set( $pagedata.path_array[$left_menu_depth|sum(3)].node_id, 0 )} {if $left_menu_items_count} {/if} {undef $root_node $left_menu_items $left_menu_items_count $a_class $li_class $current_node_in_path_2 $current_node_in_path_3 $current_node_in_path_4} {else}
{def $current_node = fetch( content, node, hash( node_id, $current_node_id ) ) $chapter_container = fetch( content, node, hash( node_id, $current_node.path_array[$left_menu_depth|inc] ) ) $class_filter = ezini( 'TreeMenu', 'ShowClasses', 'contentstructuremenu.ini' ) $depth = is_set( $current_node.path_array[$left_menu_depth|sum(2)] )|choose( $left_menu_depth|sum(3), 0 ) $node_to_unfold = is_set( $current_node.path_array[$left_menu_depth|sum(2)] )|choose(0 , $current_node.path_array[$left_menu_depth|sum(2)] ) $contentStructureTree = content_structure_tree( $chapter_container.node_id, $class_filter, $depth, 0, 'false', false(), $node_to_unfold )} {include uri='design:simplified_treemenu/show_simplified_menu.tpl' contentStructureTree=$contentStructureTree is_root_node=true() skip_self_node=true() current_node_id=$current_node_id unfold_node=$node_to_unfold chapter_level=0} {undef $current_node $chapter_container $class_filter $depth $node_to_unfold $contentStructureTree}
{/if} {undef $left_menu_root_url $left_menu_depth}