Community Documentation

ARCHIVE: Advanced use: reset Views module completely

Last updated March 25, 2011. Created by innovationcreation on May 18, 2006.
Edited by linclark, jhodgdon, add1sun, Michelle. Log in to edit this page.

WARNING: This will result in the loss of any existing views

Drops all views tables and removes the system entry so it doesn't think views was ever installed

DROP TABLE view_view;
DROP TABLE view_argument;
DROP TABLE view_filter;
DROP TABLE view_exposed_filter;
DROP TABLE view_sort;
DROP TABLE view_tablefield;
DROP TABLE cache_views; /* for Views 5.x, not sure about 4.x views */
DELETE FROM system WHERE name LIKE 'views%';

Then go to administer >> modules and enable views and views_ui

WARNING: This will result in the loss of any existing views

About this page

Drupal version
Drupal 4.7.x

Archive

Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.