I have created a custom theme. I have added the region user account menu in footer, but I forgot to add the region primary admin access.

Unfortunately I clicked on the logout button, and I am not able to log in again. The page at /user/login appears empty. Now how can I access the administration page?


You change your default theme in setting.php.Uncomment this line in your setting.php file

 $conf['theme_default'] = 'garland';

enter image description here

| improve this answer | |

You should be able to switch the theme with drush (or failing that directly in the database), the answer on this question How do you change theme with Drush? may help

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.