Share » Forums » Setup & design » Multilanguage tree menu

Multilanguage tree menu

Multilanguage tree menu

Wednesday 17 May 2006 6:33:29 am - 5 replies

Author Message

Łukasz Serwatka

Wednesday 17 May 2006 11:24:34 pm

Hi William

This enhancement was added to treemenu operator in 3.8 version.
http://pubsvn.ez.no/nextgen/stable/3.8/doc/features/3.8/enhanced_treemenu.txt

Also it is good idea to upgrade, because of new improvements in multilingual functionality.

http://ez.no/community/developer/specs/improved_multi_language_in_ez_publish_rev_2

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

William Steenbergh

Friday 19 May 2006 3:21:46 am

Hey thanks, this indeed would appear to be what I was looking for. Unfortunalely I'm unable to upgrade at this point, but replacing the treemenuoperator php files in the kernel seems to work as well...

Would you happen to know how the syntax for the new tree menu operator? I do believe it is not documented yet for 3.8

thanks

William

William Steenbergh

Tuesday 23 May 2006 2:26:17 am

bump

Łukasz Serwatka

Tuesday 23 May 2006 3:04:26 am

Hi,

The styntax is the same, just new paramaters were added.

This should work.

{def $mainMenu=treemenu( $module_result.path,
                                    $module_result.node_id,
                                    array('folder','info_page'), 1, 6, 15, array( 'eng-GB' ) )}

Look on the eZTreeMenuOperator class for more info.

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

William Steenbergh

Tuesday 23 May 2006 3:16:11 am

Hey thanks!

Diddn't know in what order to pass the parameters (don't know if it matters, but I guess it does...)

And sorry for bumping the post... My boss was getting slightly impatient.

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

36 542 Users on board!

Forums menu