| Steph A
                                                                                                                             
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | Friday 25 February 2005 5:31:02 am 
                                                                
                                                                 I have a code that fetches articles from all folders. The output is what I want, but not the way it looks. How do I show the articles in a spesific "line_view"? 
{* Fetch all subfolders, each representing a news category *}
{let subfolders=fetch( content,
	list,
		hash( 'parent_node_id', 2,
		class_filter_type, include,
                                depth,3,
		class_filter_array, array( 'folder' )
		)
	)
}
{* For each subfolder, fetch the articles *}
{section loop=$subfolders}
{let articles=fetch( content,
	list,
		hash( 'parent_node_id', $:item.node_id,
		class_filter_type, include,
		class_filter_array, array( 'article' )
		)
	)
}
	{* For each article, display the name and the url to the article and the category *}
	{section loop=$articles}
	<li>
		<a href={$:item.url_alias|ezurl}>{$:item.name}</a>
	</li>
	{/section}
	{/let}
{/section}
{/let}
I dont want the  <li>
		<a href={$:item.url_alias|ezurl}>{$:item.name}</a>
	</li>...but I want to show the articles with the template formatting specified for the section, node, etc.... I hope someone understand what I am looking for..... Kind regards Stephen |