Global Settings and Import-Export
Views Global Settings and Import/Export for Drupal 7 Views
Global settings are found from a menu tab on top of the Views main panel (the list of all views on the site). Checkboxes exist for the following global functions; for View List a filter is available which is very useful if there are a lot of views, making finding a particular view a lot easier.
For the View edit form there are three more menu tabs for Display, Defaults and Advanced Settings.
The Display tab has checkboxes to;
- show the SQL query details
- show performance statistics, which is useful for tweaking site performance and
- show advanced help warning, which is a message to remind the user to install the advanced help menu module.
For the Default Settings tab there are checkboxes to;
- Combine view templates and user-generated views - which id selected combines the built-in templates and custom views in the list, otherwise they will be separated.
- Always show the master query which allows legacy users used to older versions to see the master display
- Always show advanced display settings which shows the advanced configuration controls open instead of collapsed.
The Advanced Global Setting menu tab includes
- Add views signature to all SQL queries
- Disable views data caching
- Disable automatic live preview
- Show other queries run during render
- Enable views performance statistics vie the Devel module
- Disable Java script with Views
- A choice of translation method, core or none, selects a translation method for views data.
- Finally a choice of page region to output performance statistics
Importing and Exporting Views
This tool is used to export the view code in PHP format. Each view can be exported by selecting the export function ('advanced' in view configuration panel, the copy/pasting the code into a suitable PHP or plain text editor.
Importing a view is similar, pasting the code into a view import form.