Add new comment

Migrating from the Menu trails module to Menu position

The Menu trails module that is used for giving content a suitable position in the Drupal menu lacks a Drupal 7 version and it doesn't work all that well with multilingual sites. The Menu position module provides equal functionality, is still supported and even works better for multilingual sites.

I wrote a small drush command for migrating to Menu position. It will convert Menu trails rules to Menu position equivalents. In the simplest case you can just install the command to the ~/.drush directory and run "drush mt2mp".

Additionally the "drush mpclear" command can be used to remove all rules configured for the Menu position module. The code can be found on Github.


Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Fill in the blank.