| Jack Rackham
                                                                                                                             
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | Tuesday 10 August 2004 12:42:24 pm 
                                                                
                                                                 I have a problem with showing the content of folders in 3.4.1. I want to exclude some classes. The following code works with 3.3 but not with 3.4.1. Can someone help me! And one more thing what is the purpose of the ‘show children’ tab that you can select in 3.4. This is my code for /node/view/full.tpl full_folder: <div id="folder"> <form method="post" action={"content/action"|ezurl}> 
<input type="hidden" name="ContentNodeID" value="{$node.node_id}" /><input type="hidden" name="ContentObjectID" value="{$node.object.id}" />
 <input type="hidden" name="ViewMode" value="full" />
 <h1>{$node.name|wash}</h1> 
<div class="children">{let page_limit=20
 children=fetch( 'content', 'tree',hash( parent_node_id, $node.node_id,
 sort_by ,$node.sort_array array( published, false() ),
 limit, $page_limit,
 class_filter_type, 'exclude',
 class_filter_array, array( '1', '13', 'info_page', '11', '27' ) ))
 list_count=fetch('content','list_count',hash(parent_node_id,$node.node_id,
 class_filter_type, 'exclude',
 class_filter_array, array( '1', '13', 'info_page', '11', '27' )))}
 
{section name=Child loop=$children sequence=array(bglight,bgdark)}<div class="child">
 {node_view_gui view=line content_node=$Child:item}
 </div>
 {/section}
 
{include name=navigatoruri='design:navigator/google.tpl'
 page_uri=concat('/content/view','/full/',$node.node_id)
 item_count=$list_count
 view_parameters=$view_parameters
 item_limit=$page_limit}
 
{/let}</div>
 
</form></div>
 | 
                                                
                                                                                                                                                        
                                                        | Paul Borgermans
                                                                                                                             | Wednesday 11 August 2004 8:16:43 am 
                                                                 Hi  If this is a copy paste, then the line with  
 sort_by ,$node.sort_array array( published, false() ), 
  is problematic. I guess the template engine coped with that in 3.3, but not any more with 3.4 Otherwise, I have no idea, everything else looks fine. If this is a new override template, then you should manually clear the cache directory. In 3.4.1, Exponential does not sense a new override template. Clearing the caches from the admin interface does not help in my experience hth -paul eZ Publish, eZ Find, Solr expert consulting and traininghttp://twitter.com/paulborgermans
 
 |