In edit mode, css overrides in sub-theme.info file are actually being called and produce a 404.

mhunt - June 11, 2009 - 15:43
Project:Zen
Version:6.x-2.x-dev
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

" To prevent stylesheets of a base theme or of a module from being included in
; our sub-theme, we specify it in our .info file (and we don't need to have a
; stylesheet in our sub-theme with that name.) For example, we prevent the
; zen.css file in the base theme from being included by specifying it here."

This works for the live site. But when in the edit node tab, any css files that we added to the sub-theme.info file to override the call are getting 404 errors and are actually being called.

As a temporary fix we have created all of the files in red (in the screenshot of firebug's net tab) as blank css files. These live in the subtheme directory so that the 404 errors do not happen.

#1

mhunt - June 11, 2009 - 15:44

Attached is the screenshot that goes along with this issue.

AttachmentSize
edit-tab-zen-errors.png 18.07 KB

#2

JohnAlbin - November 5, 2009 - 11:52
Status:active» fixed

That's totally bizarre. Being on the edit tab causes the knocked-out stylesheets to be loaded?!? That sounds like a core bug. eep. :-p

If you are still experiencing this, you probably should move this issue to Drupal core's issue queue.

Also, Zen 6.x-2.x has been re-worked so that the sub-theme has all of the stylesheets in it and Zen only loads its own copy of the files if it is the active theme.

#3

System Message - November 19, 2009 - 12:00
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.