Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By behnaz73 on
hi,
I have installed bootstrap theme on my drupal now i can find manage menu in this theme i wanna access appearance submenu but there isn't such a menu and it doesn't let me to acccess to through url so is there any way to change the theme?
Comments
Changed theme without drupal appearance menu
Using below mentioned content you can change theme without using drupal appearance menu :
1.) Change the active theme with Drush :
=> For Drupal 7 :
=> for Drupal 8 (Drush 7+) :
If drush fails with an error than install drush using following command:
-> To install drush without composer
-> To install drush with composer; it will install latest version of drush
2.) Change the active theme using the database :
The default theme setting is stored in Drupal's database, and this can be changed by manipulating the database from the command line or an administration overlay or client like PHPMyAdmin or MySQL Workbench for MySQL.
Always make a backup of your database before changing values in it directly, as it is possible to destroy data and render your site unrecoverable at the database level. You have been warned.
In Drupal 7, the setting is stored in the system table:
=> Activate a trusted theme
=> Change the default setting
And clear the cache tables
If you are using per-user themes, and you've just messed it up for yourself as admin
In Drupal 8, the setting is in the
config
table, and stored as a blob value forsystem.theme
.Changed theme without drupal appearance menu
thank you so much now i'v installed drush but it says
config-set: command not found
as i enter drush to see all commands this command was'nt there at all(i'm in drupal 8,forgot to say)
Try this for fix issues
@behnaz73
Please try below code fot fix your issue :
=> Install Drupal Console
Hope this will work for you.
Thanks.
Changed theme without Drupal appearance menu
Please can you explain the procedure for modifying the blob value for system.theme in the config table (Drupal 8)