4

I'm trying to export menu links with features but it saves the node id in the feature, but obviously the nid is different in dev, test and production.

I can't use UUID because nodes are created in every environment.

Is there a way to export menu links with alias and not with nids?

  • A new module was created for menu links features integration, drupal.org/project/features_menu_uuid. This may not address the exact use case of the original question, but might be useful for others finding this from a search. – donquixote Mar 4 at 12:40
3

http://webwash.net/tutorials/import-and-export-menus-menu-import-module-drupal-7 shows how to use http://drupal.org/project/menu_import which uses path aliases instead of UUID.

I think this would work.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.