| 
                                                                                                                         Joshep Velez
                                                                                                                             
                                                            
                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
                                                                                                                        
                                                         | 
                                                        
                                                             Tuesday 14 June 2005 4:44:17 am 
                                                            
                                                                
                                                                 Hi, first of all, sorry for my English, I hope you understand me. I did a tree menu with the code that somebody has posted several months ago:          
{let folderlist=fetch('content', 'tree' ,hash('parent_node_id', 2,
'class_filter_type', include,
'class_filter_array', array(1)))}
<div align="center"> 
<table border="1" width="150" bgcolor="#f6f6f6" cellpadding="1" cellspacing="0" align="center">
{section name=menu loop=$folderlist}
{switch match=$menu:item.depth}
{case match=2} 
{section show=eq($menu:index, 0)} 
</td></tr>
{/section}
<tr>
<td>
 <a href={$menu:item.url_alias|ezurl}>{$:item.name}</a>
{/case}
{case match=3} 
{section show=and($node.depth|ge(2),eq($menu:item.parent_node_id, $node.path_array.2))}
 <a href={$menu:item.url_alias|ezurl}><br />  -- {$:item.name}</a>
{/section}
{/case}
{case match=4} 
{section show=and($node.depth|ge(3),eq($menu:item.parent_node_id, $node.path_array.3))}
 <a href={$menu:item.url_alias|ezurl}><br />    --- {$:item.name}</a>
{/section}
{/case}
{/switch} 
{/section}
</td>
</tr>
</table>
</div>
{/let}
    It works correctly with Exponential 3.5 but I had to change to the 3.6 version due to another problems. When I have restablished all, this code doesn´t work well. You can see that at http://interclassica.um.es When I click for the first time, for example, at "Investigación", it works, but when I click another link and then I click another time at "Investigación", it doesn´t work. What's the problem? I hope your help! Thanks!                                                             
                                                                                                                     |