We need a way to support other modules' blocks besides the Menu ones. AAMOF currently Menu Block blocks cannot work when rendering menu trees not belonging to the primary/secondary links with language selection enabled.

Comments

plach’s picture

Status: Active » Needs review
StatusFileSize
new6.65 KB

The attached patch implements a mini-API allowing other modules to hook-in and telling MTN of which blocks it should provide the [i18n] version.

plach’s picture

StatusFileSize
new6.67 KB
+++ i18nmenu_node.module	14 Sep 2010 17:09:51 -0000
@@ -19,30 +42,81 @@
+          if ($data['delta']) {

Better: !empty($data['delta'])

+++ i18nmenu_node.module	14 Sep 2010 17:09:51 -0000
@@ -19,30 +42,81 @@
+ * to temporary disable language selection, while rendering them.

The trailing sentence is redundant.

Powered by Dreditor.

plach’s picture

Status: Needs review » Fixed

Committed to HEAD.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.