code for node_list.tpl

Author Message

Daniela Moreno

Thursday 11 November 2004 1:12:38 pm

help , does anybody has the code for the line/node_list.tpl. Its missing on my dir. . I am no programmer, and im learning to use ezpublish. Hope u can help me.

thanx

Ɓukasz Serwatka

Thursday 11 November 2004 1:23:18 pm

{* DO NOT EDIT THIS FILE! Use an override template instead. *}
{section show=or($show_subtree|count_chars()|eq(0), $requested_uri_string|begins_with( $show_subtree ))}
{cache-block keys=$tool_id}
{default limit=5}
{section show=$sort_by|count|eq( 0 )}{set sort_by='published'}{/section}
{let node_list=cond( $treelist_check|eq( 'yes' ),
fetch( content, tree, hash( parent_node_id, $parent_node,
limit, $limit,
class_filter_type, exclude,
class_filter_array, array( 'folder' ),
sort_by, array( $sort_by, false() ) ) ),
fetch( content, list, hash( parent_node_id, $parent_node,
limit, $limit,
class_filter_type, exclude,
class_filter_array, array( 'folder' ),
sort_by, array( $sort_by, false() ) ) ) )}
<b>{$title}:</b>
{section name=Node loop=$node_list sequence=array(bglight,bgdark)}
{node_view_gui view=toolline content_node=$Node:item}
{/section}
<br />

{/let}
{/default}
{/cache-block}
{/section}

Why u didn`t download new eZ publish version?

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Daniela Moreno

Monday 15 November 2004 7:16:45 am

thanks for the code man!

and i have 3.4 :S

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.