Lars Imsland
|
Tuesday 16 March 2004 12:34:05 pm
I have a template (copied from the forum package) starting with
{let child_list=fetch('content','list',hash( parent_node_id, $node.node_id,
limit, 20,
offset, $view_parameters.offset,
sort_by, array( array( attribute, false(), 158 ), array(published,false())))) child_count=fetch('content','list_count',hash(parent_node_id,$node.node_id))} This returns empty ($child_count=0). My question is: what can cause this fetch to return nothing, when I'm sure there is content under the node? (The current node is of class "forum", where I have created a node of "Forum topic" inside. There are no debug error messages.)
|
Lars Imsland
|
Wednesday 17 March 2004 3:27:45 am
Since I created a new class, I of course had to grant anonymous users access to that class. (I got the hint from http://www.ez.no/community/forum/setup_design/folder_showing_as_empty_in_user_template, strange it didn't work for him)
|