Skip to main content
added documentation page
Source Link
Gulok
  • 898
  • 5
  • 12

This is the easiest method to reset your admin theme in a Cpanel.

Update your settings.php to have:

// If your admin theme is Bartik.
$conf['admin_theme'] = 'bartik';

Warning with using $conf as you cannot set the theme via Appearance page anymore.

If you prefer SQL query method...

  1. Access PHPMyAdmin.
  2. Select the Drupal database and run this query.

UPDATE variable SET value='s:7:"garland"' WHERE name = 'admin_theme';

Where 7 is the total number of strings your theme has. Example, if your theme is adminimal. Then your query should be like this.

UPDATE variable SET value='s:9:"adminimal"' WHERE name = 'admin_theme';

Please see the documentation on Drupal.org.

Take note that if you are using Context module the $conf is not helpful as it will always respect the theme assigned via Context.

Hope this helps.

This is the easiest method to reset your admin theme in a Cpanel.

Update your settings.php to have:

// If your admin theme is Bartik.
$conf['admin_theme'] = 'bartik';

Warning with using $conf as you cannot set the theme via Appearance page anymore.

If you prefer SQL query method...

  1. Access PHPMyAdmin.
  2. Select the Drupal database and run this query.

UPDATE variable SET value='s:7:"garland"' WHERE name = 'admin_theme';

Where 7 is the total number of strings your theme has. Example, if your theme is adminimal. Then your query should be like this.

UPDATE variable SET value='s:9:"adminimal"' WHERE name = 'admin_theme';

Take note that if you are using Context module the $conf is not helpful as it will always respect the theme assigned via Context.

Hope this helps.

This is the easiest method to reset your admin theme in a Cpanel.

Update your settings.php to have:

// If your admin theme is Bartik.
$conf['admin_theme'] = 'bartik';

Warning with using $conf as you cannot set the theme via Appearance page anymore.

If you prefer SQL query method...

  1. Access PHPMyAdmin.
  2. Select the Drupal database and run this query.

UPDATE variable SET value='s:7:"garland"' WHERE name = 'admin_theme';

Where 7 is the total number of strings your theme has. Example, if your theme is adminimal. Then your query should be like this.

UPDATE variable SET value='s:9:"adminimal"' WHERE name = 'admin_theme';

Please see the documentation on Drupal.org.

Take note that if you are using Context module the $conf is not helpful as it will always respect the theme assigned via Context.

Hope this helps.

Added info about Context module
Source Link
Gulok
  • 898
  • 5
  • 12

This is the easiest method to reset your admin theme in a Cpanel.

Update your settings.php to have:

// If your admin theme is Bartik.
$conf['admin_theme'] = 'bartik';

Warning with using $conf as you cannot set the theme via Appearance page anymore.

If you prefer SQL query method...

  1. Access PHPMyAdmin.
  2. Select the Drupal database and run this query.

UPDATE variable SET value='s:7:"garland"' WHERE name = 'admin_theme';

Where 7 is the total number of strings your theme has. Example, if your theme is adminimal. Then your query should be like this.

UPDATE variable SET value='s:9:"adminimal"' WHERE name = 'admin_theme';

Take note that if you are using Context module the $conf is not helpful as it will always respect the theme assigned via Context.

Hope this helps.

This is the easiest method to reset your admin theme in a Cpanel.

Update your settings.php to have:

// If your admin theme is Bartik.
$conf['admin_theme'] = 'bartik';

Warning with using $conf as you cannot set the theme via Appearance page anymore.

If you prefer SQL query method...

  1. Access PHPMyAdmin.
  2. Select the Drupal database and run this query.

UPDATE variable SET value='s:7:"garland"' WHERE name = 'admin_theme';

Where 7 is the total number of strings your theme has. Example, if your theme is adminimal. Then your query should be like this.

UPDATE variable SET value='s:9:"adminimal"' WHERE name = 'admin_theme';

Hope this helps.

This is the easiest method to reset your admin theme in a Cpanel.

Update your settings.php to have:

// If your admin theme is Bartik.
$conf['admin_theme'] = 'bartik';

Warning with using $conf as you cannot set the theme via Appearance page anymore.

If you prefer SQL query method...

  1. Access PHPMyAdmin.
  2. Select the Drupal database and run this query.

UPDATE variable SET value='s:7:"garland"' WHERE name = 'admin_theme';

Where 7 is the total number of strings your theme has. Example, if your theme is adminimal. Then your query should be like this.

UPDATE variable SET value='s:9:"adminimal"' WHERE name = 'admin_theme';

Take note that if you are using Context module the $conf is not helpful as it will always respect the theme assigned via Context.

Hope this helps.

Source Link
Gulok
  • 898
  • 5
  • 12

This is the easiest method to reset your admin theme in a Cpanel.

Update your settings.php to have:

// If your admin theme is Bartik.
$conf['admin_theme'] = 'bartik';

Warning with using $conf as you cannot set the theme via Appearance page anymore.

If you prefer SQL query method...

  1. Access PHPMyAdmin.
  2. Select the Drupal database and run this query.

UPDATE variable SET value='s:7:"garland"' WHERE name = 'admin_theme';

Where 7 is the total number of strings your theme has. Example, if your theme is adminimal. Then your query should be like this.

UPDATE variable SET value='s:9:"adminimal"' WHERE name = 'admin_theme';

Hope this helps.