This module provides an easy way to import previously exported Views definitions.

INSTALLATION

  1. Create 'sites/all/imports/views' folder.
  2. Export the Views you wish to import and paste the export code into separate text files with '.inc' extension.
  3. Place the newly created text files in the 'sites/all/imports/views' subdirectory.
  4. Do not forget to add '<?php' line to the top of the files.
  5. Ensure all dependant modules are installed for the fields in the views.
  6. Install this module.

Upgrade instructions 6.x-1.0 to 6.x-1.1

  1. Move all your views' files to 'sites/all/imports/views' folder.
  2. Add '.inc' extension to each view file.
  3. Add '<?php' line to the top of the files.

The idea is that you could have a collection of commonly used views in a folder. Then, when you start a project, copy the required views definitions into this module and install. This will add all the views in one go, saving you from using the Views import form provided by views.module.

If you are happy with using the import form provided by views.module then you don't need this module. This is very small module that just makes it easier to install views from previously saved text files.

Recommended modules

This module was sponsored and is maintained by Freestyle Systems & WikiJob.

Project Information

Downloads