Share » Forums » Setup & design » two menus: double top menu and footer...

two menus: double top menu and footer menu

two menus: double top menu and footer menu

Friday 21 July 2006 5:55:11 pm - 4 replies

Author Message

Marcin Drozd

Saturday 22 July 2006 12:56:05 am

Hi
I think I have some options:
1. create two classes (like folder): F1 (for top menu) and F2 (for bottommenu) and use class filter in fetch
2. create two section: S1 (for folder A ... C) and S2 (for folder N...O)
3. set priority from 1 to 99 (for folder A ... C) and from 101 (for folder N...O) and (in fetch) use sort_by, array(priority,true()) and
'attribute_filter', array( array( 'priority', '<', '100' ) ) for folder A ... C
or
'attribute_filter', array( array( 'priority', '>', '100' ) ) for folder N...O
4. something else, but I haven't got an idea

http://ez-publish.pl

Alexandre Cunha

Tuesday 25 July 2006 4:42:29 am

'attribute_filter', array( array( 'priority', '<', '100' ) ) 

Thank you, this solution is perfect !

By the way, I have use attribute_filter and not 'attribute_filter'

http://AlexandreCunha.com

Alexandre Cunha

Tuesday 25 July 2006 3:32:07 pm

Hi again

In this sample

sort_by, array(priority,true()),
attribute_filter, array( array( 'priority', '>',  '10' ) ) ,
attribute_filter, array( array( 'priority', '<', '100' ) ) 

I get content with priority lower than 10.

How can I improve this ?

thanks

http://AlexandreCunha.com

Marcin Drozd

Wednesday 26 July 2006 12:35:49 am

Hi
I think it should be:

sort_by, array(priority,true()),
'attribute_filter', array( 'and',
                 array( 'priority', '>', '10' ),
                 array( 'priority', '<', '100' ) )

Is it what U want?
see example 13 on http://ez.no/doc/ez_publish/technical_manual/3_8/reference/modules/content/fetch_functions/list

http://ez-publish.pl

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

36 542 Users on board!

Forums menu