3

I've got a local install that has turned bad. i want to quickly re-import blocks and menus. More specifically, block settings and block content as well as menus.

What is the best way to go? Features? MySQL dump of certain fields?

5

You can export blocks with the Features Extra module, or better yet, use the Boxes module, which is designed to be exportable.

Using MySQL dumps is an advanced trick that gets harder with each version of Drupal as the API becomes more complex. It's not recommended and definitely not for the faint of heart.

1

If your importing to a brand new install then a selective dump of the menu and block tables should be ok, this way it won't overwrite any existing custom menus.

If the export site isn't too messed up then you can always look at exporting the menus and blocks as a feature and then import it into the new site.

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.