Hi all,

New to Drupal and it looks good. I am trying to create a custom site using XHTML, CSS and PHPTemplate. I know XHTML and CSS really well so no worries there.

What I need to know is when I create my site layout in say Dreaweaver I then add in the PHPTemplate place holders for the site and upload the theme. The site seems to be fine but the admin areas are unusable as there is no styling except bits of the site.

Is it possible to have a seperate theme used for the site and admin areas?

Thanks aftershock

Comments

pgassner’s picture

I use the sections.module (http://drupal.org/project/sections). Just create a new section for administration tasks and assign a standard theme to paths like "admin*" or "node/add" etc.

pgassner’s picture

Actually, if you're using 4.6, you might want to apply the following patch: http://drupal.org/node/14318

aftershock’s picture

Many thanks for the links about sections. After reading about ithem they seem a sensible way to achieve what I require. I am using 4.6 so will need the patch applying.

Being a bit thick, how would I apply the patch?

Thanks

kbahey’s picture

Patch how to http://drupal.org/node/323
--
Consulting: 2bits.com
Personal: Baheyeldin.com

--
Drupal performance tuning and optimization, hosting, development, and consulting: 2bits.com, Inc. and Twitter at: @2bits
Personal blog: Ba

freyquency’s picture

theres another way to do so here: http://drupal.org/node/20827

factoryjoe’s picture

is similar to the other mentioned techniques, but for your purposes, just swap out your CSS in admin sections:

if ((arg(0) == 'admin') && (user_access('access administration pages'))) {
  // output admin stylesheets
}
else {
  // output default stylesheets
}

That should do it!