Share » Forums » Setup & design » class filter problem

class filter problem

class filter problem

Monday 12 July 2004 3:53:33 pm - 4 replies

Author Message

Roy Bøhmer

Tuesday 13 July 2004 12:18:52 am

You should be able to fecth watever you want even if you have modified the default classes. As long as you have not alterd the class identification-string 'folder' your code seems ok too. Could you post the rest of your fetch-sentence?

Roy

Marko Žmak

Tuesday 13 July 2004 5:38:34 am

Here it is for article:

{let vijesti_list=fetch(content, list, hash(
					'parent_node_id', $folder_node.node_id,
					'class_filter_type', 'include',
					'class_filter_array', array('article'),
					'sort_by', array('published', false()),
					))}

It doesn't fetch anything, count of $vijesti_list after this is zero. Without these lines:

					'class_filter_type', 'include',
					'class_filter_array', array('article'),

it works O.K. And the identifier of Article class is article.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Roy Bøhmer

Tuesday 13 July 2004 11:23:59 am

Hi!
Probably just a typo in the post, but you have a comma (,) too much in the end. To me it looks nice otherwise.

Roy

Marko Žmak

Wednesday 14 July 2004 4:10:57 am

The comma in the end doesn't matter, the fetch function works wether you put it or not. So the problem is somethnig else. Anyone knows the solution?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu