Great module, but there's something fishy happening when viewing in translated mode i.e. not the original mode because when using

menu_get_active_title() or menu_get_menu() in one of my modules they return the wrong answers

menu_get_active_title() for example always returns "view" when in translated mode,

Why is that and is there a workaround??

The best

M

Comments

claudiu.cristea’s picture

Version: 5.x-1.9 » 5.x-1.10
Priority: Normal » Critical

After I upgraded to 5.x-1.10 the function menu_get_menu() returns nothing on the secondary language while in the default language is working OK.

Did I miss something or it's a bug?

claudiu.cristea’s picture

Category: support » bug
Roberto Gerola’s picture

It seems to be a problem in the translation routine.
Never tried to call directly that menu function.
I cannot guarantee it can work.

reed.richards’s picture

Status: Active » Closed (fixed)

Closing this.