Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Deco does not use blocks for the primary-links
, it may be a problem in itself but it's not the subject here.
Deco currently use menu_tree
in template.php
in order to provide the main-menu.
But if one uses i18n
, every single item will be printed while you only want those of the requested language.
That's why i18n_menu_translated_tree
exists. It's called automatically for blocks but should be handled manually otherwise.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1770754-i18n_menu_translated_tree.patch | 901 bytes | drzraf |
Comments
Comment #1
drzraf CreditAttribution: drzraf commentedComment #2
drzraf CreditAttribution: drzraf commentedping
Comment #3
drzraf CreditAttribution: drzraf commentedping
Comment #4
drzraf CreditAttribution: drzraf commentedping