Hello community,

I've been trying for so long to understand the reason that makes drupal use the site theme instead of the admin theme (since node creation is part of the admin, not part of the site) when creating and editing a node. Is there any way to change that and force the system to use the admin theme?

Thanks in advance!

Comments

mfer’s picture

Content creation being a admin thing is not always the case. Many times it's not. For example, this forum. It's the users posting content and should use the site theme rather than the admin theme. Assuming that content creation and editing is something for an admin is a use case assumption that's not true for everyone or the roots of where drupal is often used.

Now, there are times when content creation is something for an admin. When you are doing a static site, maybe a newspaper, or something like that. For drupal 5 check this out in the handbook http://drupal.org/node/122578.

For drupal 6 you will need some modifications. This codes can be modified to only use the admin theme on selected content types, too.

--
Matt
www.mattfarina.com
www.innovatingtomorrow.net
www.geeksandgod.com
www.superaveragepodcast.com

raphaeltsr’s picture

Thank you very much. That was pretty much what I needed!!! =)

matkeane’s picture

Hi,

I think you're seeing the site theme because the form for editing a node is at /node/xx/edit and not /admin/node/whatever. Whether a not a page is in the 'admin' section seems to be down to the Drupal path, not the activity itself.

Matthew