Hi there,

I currently have Garland as my admin theme - because it's clean and simple, however I have a much more complex them for the actual site. However... It seems whenever I add/edit content/blocks etc, Drupal drops me into my custom template to edit it, and I'd rather stay inside Garland at all times when having anything to do with admin.

Is this possible? Thanks! p.

Comments

Anonymous’s picture

I'm wondering the same thing

primz’s picture

Sorry to bump this up... But really keen on catching the attention of someone that may know an answer... Cheers, p.

primz’s picture

i figured this out - using the Taxonomy Theme module, under Site Configuration go to Extended options tab, and under the theme you wish to always use for editing (ie. Garland) enter the following:

*/*/edit

cheers, p.

meerkat’s picture

I'm really grateful that you solved this - I had exactly the same problem and was going down the route of templates. I have yet to 'get' the whole Taxonomy thing and would never have thought of this as the solution.

For anyone like me moving to Drupal from Wordpress and CMS Made Simple and is wondering how you can have a distinct Admin view and User view of a Drupal site, primz's solution is the way to go... use the Administration Theme setting in Site Config and the following in Taxonomy Themes extended paths:

*/*/edit
*/add
*/add/*
user/*
tracker
logout
admin/*

botum’s picture

It's a different approach, but I've just selected the theme at the admin's preferences.

vm’s picture

insure you don't have same problem they ran into. Though you shouldn't as they are using a specific module called taxonomy theme to theme certain vocabularies differently from each other.
_____________________________________________________________________________________________
give a person a fish and you feed them for a day but ... teach a person to fish and you feed them for a lifetime

janwari’s picture

Another hack for this would be to do the following in settings.php file

if(arg(0) == 'admin' | arg(0) == 'devel' | arg(1) == 'content' | arg(1) == 'blocks' | arg(1) == 'add' | arg(2) == 'edit')
{
$conf = array(
'site_name' => 'Admin Panel',
'theme_default' => 'garland',
'anonymous' => 'Visitor',
);
}