Forums / Developer / Casual choice of object

Casual choice of object

Author Message

Pavel Konovalov

Friday 17 November 2006 11:16:20 am

Hello.
I have a problem.
I have the objects that differ only by value of one of the attributes.

I want to select objects by value of attribute
(this attribute have a 4 different values),
but selection should be in... the way of "casual choice".

How can I do this?
Thx

Are you gangsters?!
No, we are Russians.

Claudia Kosny

Friday 17 November 2006 12:04:07 pm

Hi Pavel

Maybe it is just to late in the evening for me but frankly I have no idea what you mean by 'casual choice'.

If you want to fetch only nodes where the attribute in question has a specific value you can use the attribute filter in the content list fetch function (works only if the attribute does not allow for multiple selection). Just check the docu for this: http://ez.no/doc/ez_publish/technical_manual/3_8/reference/modules/content/fetch_functions/list

If that is not what you want please give me a concrete example.

Claudia