Paid affiliate advertisement

Drupal Admin Theme Issue

jagdot - April 18, 2008 - 21:59

I wave two drupal sites. .com and the other is beta.com The .com site is simply a sign up site for the beta when it launches. Earlier this week, I was in admin area of .com and changed the admin theme away from garland and switched it to a custom theme which is actually the site theme. No I've lost the ability to change it back because when I log in I am taken to the site theme which does not have any admin options. Is this something that can be recovered without using the backup?
Thank you.

=-=

VeryMisunderstood - April 18, 2008 - 22:12

try pointing your browser to yoursite.com/admin/build/themes

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

Tried it.

jagdot - April 18, 2008 - 23:13

Thank you. I tried but I am taken to the site.com homepage which is the theme.

=-=

VeryMisunderstood - April 18, 2008 - 23:36

then you will have to go into your DB manually and set that theme to 0 which will turn it off.

the only other possibility would be to delete the theme folder from the server which would give you a themeless site to navigate until you got back to the admin/build/themes area

also note that unless you are using clean urls, the path above and in the last comment would need to be dirty ?q=/admin/build/themes

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

Thank you

jagdot - April 18, 2008 - 23:40

Turning the theme off by setting it to 0 sounds like a great idea. I don't have the slightest idea how to do this which is why I posted in the drupal services for hire. Is this something that you are able to do for hire?

=-=

VeryMisunderstood - April 19, 2008 - 00:02

so bet it, moved the thread back into the paid services forum.

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

no need set db manually

rizqi - April 19, 2008 - 02:43

hi chuck

you can set theme default easily using your settings.php
go to your settings.php which is located at [yourdrupalfolder]/sites/default/settings.php
put this at the bottom of settings .php

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

it will change your default site as garland, and then you have to go to your drupal site
set permantent your default administration theme as garland
which is located at http://[yourdrupalsite]/admin/settings/admin

thanks
Rizqi
Professional Drupal Developer
Surabaya, Indonesia

Thank you, Rizqi

jagdot - April 19, 2008 - 05:10

Rizqi,

Many thanks for your generous offer to repair my admin login. I am very grateful for you taking the time to fix this for me. I hope to work with you again.

Chuck

 
 

Drupal is a registered trademark of Dries Buytaert.