I am new to Drupal. Currently I am using Drupal 7.4.

Hhow to export a custom module from one instance to another instance?

Note: copy the module to the new site didn't work.

closed as unclear what you're asking by leymannx, mradcliffe, kiamlaluno Jan 26 at 12:33

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Just copy the module into the new site, and enable. Nothing more to it – Clive Jan 25 at 18:44
  • Tired that but it didnt work out. – asnique Jan 25 at 18:47

Here are the steps you need to do:

  • Before you try anything, make sure you have a backup of everything
  • Copy the module directory into the correct directory in the other Drupal site
  • Enable the custom module
    • from the /admin/modules page
    • from the command-line using the drush en MODULE command
  • If the module requires any configuration, then you will have to do the configuration on the second website as well
    • If you have used the features module, it can be helpful in transferring module configuration

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