On the front page I've set up a block that has a 3-cols mini panel. Left column contains a node, middle and right column contain views.

When block cache is turned off, everything works well. When cache is cleared and block cache is turned on, the following tag doesn't exist in the head of html produced by Drupal: <link href="/sites/all/modules/panels/plugins/layouts/threecol_33_34_33/threecol_33_34_33.css?6" media="all" rel="stylesheet" type="text/css">. The result is layout doens't display correctly, when a necessary file isn't loaded.

However this can be "overridden" by allowing "optimize css" in cache settings while block cache is enabled.

Comments

merlinofchaos’s picture

Status: Active » Closed (won't fix)

There's no way to fix this; Drupal's block caching does not store 'out of band' data, and flexible CSS files can't be unilaterally added to pages. Block caching on mini panels simply should not be used. Panels own caching system works, though, and is better anyway.

gratsch’s picture

Version: 6.x-3.0 » 6.x-3.2
Assigned: Unassigned » gratsch
Priority: Normal » Minor
Status: Closed (won't fix) » Needs review

I had the same problem. Turning off the block cache will solf it but is not the solution.
Including to this issue I have the following info.

When using the block cache I got the following result:
Status logged in:
- the css file is always included (@import "/sites/all/modules/panels/plugins/layouts/threecol_33_34_33/threecol_33_34_33.css)

Status logged out:
- when calling the page http://sitename the threecol_33_34_33.css file is included and the mini panel is displayed correctly.
- when calling the page http://sitename/home the threecol_33_34_33.css file is not included.
If I change home for an other word the threecol_33_34_33.css file will also not be included.

In the mentioned situations the other panel css files are always included.

When I do not use the block cache the css file is always included.

I have solft it bij including the missing css in my own css file.

Letharion’s picture

Assigned: gratsch » Unassigned
Category: bug » support
Priority: Minor » Normal
Status: Needs review » Closed (won't fix)

I didn't see a reason to update the issue status, so I'm resetting it.