Score:1

How do I import/export menus?

fr flag

I want to import/export all menus of site1 in into site2. Currently I am using the entitysync module to synchronize the content between two sites. I can see there is an option for "Custom Menu Links" but it will import/export only the main navigation items only.

I want to import/export:

Structure -> Menus

  1. Administration
  2. Footer
  3. Main Navigation
  4. Tools
  5. User Account Menu

Can anybody help me on this?

Kevin avatar
in flag
Don't the menus point at nodes that won't exist in this site? Anyway, use the Migrate module to migrate data.
user3463733 avatar
fr flag
I am using same drupal version , in this case i can't use migrate module
Kevin avatar
in flag
Yes, you could.
Score:0
lr flag

Try the Structure Sync module:

Some websites might contain elements that are considered content by the Drupal CMS while they might not only be used as content. For example custom blocks might be used for a footer that is shared between all environments. Structure sync tries to give you a tool to get around this issue by allowing you to synchronize taxonomy terms, menu links and custom blocks through the configuration.

user3463733 avatar
fr flag
Its between two drupal sites , how can i use structure sync module here??
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.