Share » Forums » General » Attribute Filter

Attribute Filter

Attribute Filter

Thursday 21 April 2005 1:43:59 am - 4 replies

Modified on Monday 25 April 2005 12:59:17 am by John Smith

Author Message

Łukasz Serwatka

Monday 25 April 2005 1:00:09 am

What data type is incmenu attribute in article class?

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

John Smith

Thursday 28 April 2005 2:56:45 am

hi Serwatka,

IncMenu is a "Selection" type of attribute.

Options are "Yes", "No".

Identifier is "incmenu"

Required and Searchable checked as well.

Here what I am trying to fetch is all the folder names and the articles names with the option "Yes" in IncMenu attribute.

Thanks once again.

cheers

Łukasz Serwatka

Thursday 28 April 2005 3:01:48 am

So, you will have to use 0 for "Yes", 1 for "No" or use checkbox datatype then you can use 1 if checked

'article/incmenu', '=','0'

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

John Smith

Thursday 28 April 2005 5:13:28 am

hi Serwatka,

thanks for your reply. I am here struggling with the let statement. Can you please tell me whether is it possible to fetch both folder, articles with attribute filter in the let statement with treemenu given below

{let docs=treemenu( $module_result.path, $module_result.node_id, ezini( 'MenuContentSettings', 'LeftIdentifierList', 'menu.ini' ), 0, 5 ) depth=1}

cheers

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

36 542 Users on board!

Forums menu