Forums / Setup & design / listing nodes of a new class doesn't work

listing nodes of a new class doesn't work

Author Message

Stefan van Zwoll

Saturday 06 December 2003 12:52:07 pm

hi everyone,

i added a new class to 'content' in my ezp3.2-2, it's got the id of 14. now i want to let all published nodes of that kind to be listed on my frontpage. i use the following code:

{let rezi_list=fetch('content','list',hash(
parent_node_id, 82,
limit, 6,
class_filter_type, include,
class_filter_array, array( 'rezi' ) ) ) }

whereas 'rezi' is the identifier of my new class. i let the results appear with

{section name=Rezension loop=$rezi_list max=6}
{node_view_gui view=line_rezi content_node=$Rezension:item}
{/section}

i do get nothing out of this. i've published an article (class id i think is 2 or similar) in the same node (82) and this is being shown (i changed the class_filter_array to include 'article'). i did register the new class with the 'anonymous user' in my role-list. still nothing shows up.

anyone that can help me out?
regards, stefan

Stefan van Zwoll

Monday 08 December 2003 8:22:32 am

ps: i just checked with the standard template, whether i do get an output accessing the node (82) directly. again nothing but the node with the class=article is shown. all of the nodes of my new class are missing. i must have forgotten something....

Stefan van Zwoll

Monday 08 December 2003 10:37:25 am

well, somehow all works out all of a sudden. i did not change any code at all. i just deleted the new class from and re-registered it with the 'anonymous user' account. suddenly it works...