The need is to reinstall panels because of some issues with it. However what will happen to the already existing panels if you reinstall or even remove panels entirely?


You will lost your custom panel configuration. To prevent that you can export all your panels to code with features.

This is because modules should remove its own data on hook_uninstall.

Features provides a UI and API for taking different site building components from modules with exportables and bundling them together in a single feature module. A feature module is like any other Drupal module except that it declares its components (e.g. views, contexts, CCK fields, etc.) in its .info file so that it can be checked, updated, or reverted programmatically.

This way you will have a features module with all your panels configuration.

This are the steps:

  1. Install features module.
  2. Go to admin/structure/features/create
  3. Give a name to the feature module.
  4. Select panels configuration
  5. Download the feature.
  6. Move this module to the features folder (site/all/modules/features).
  7. Uninstall panels
  8. Enable panels
  9. Active the feature on admin/structure/features

There are also 'export' and 'import' tabs/links on the Panels UI and Pages UI but this is a manual process and can be slower than using features.

  • 1
    +1. There are also 'export' and 'import' tabs/links on the Panels UI and Pages UI – J. Reynolds Dec 21 '14 at 16:44
  • Don't move the module in "features" folder, but in sites/all/modules directory – arrubiu Dec 21 '14 at 20:29

If all you are doing is replacing the code and not disabling and uninstalling the module, this won't affect your existing panels, however it is always a good idea to back them up using either the method mentioned by jorgetutor or a full database backup (always useful)

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.