By providence_matt on
I'll admit this is my first time working with drupal themes. I was able to code my template and add the regions in. I installed my theme and immediately noticed that it broke the backend structure making it unusable. My theme is not the generic sidebars and middle content setup. The content area has a fixed width. How do you theme while keeping the backend usable?
Comments
Hi! Congrats with you new
Hi! Congrats with you new Drupal theme. A nice way to keep the admin clean while theming, is to use a separate theme for admin purposes + content creatioin. Go here to change settings:
Activate themes:
admin/build/themes/select
Choose theme:
admin/settings/admin
Drupal provides the
Drupal provides the functionality to set another theme as 'admin theme'. So you could select Garland (or something nicer) as admin theme. Then you could do all the crazy stuff in you frontend theme without worrying about breaking the backend.
You can find this setting under yoursite.dev/admin/settings/admin/theme
Thanks! one more question
Thanks! I've been doing that but one thing that has been an annoyance has been the blocks screen. It will revert to my default template (the custom one) when I click site building > blocks. Not sure how everyone handles that... Do you just make the best of it or is there a way for that to be a default theme too but contain your regions.
Due to the fact that every
Due to the fact that every theme can define it's own regions you have to arrange your blocks while your custom theme is active. I don't know of a different solution, but frankly in some cases I would be delighted if there was one, too. ;-)
Try adjusting your theme's CSS
If I understand you correctly, I believe your theme's CSS styles aren't playing nice with the admin aspects of the blocks screen. What I've done is used Firebug to determine what styles are causing the problem and override them in your theme's stylesheet.