Hi,
I have created a mini panels block above my footer containing my contact info on the left side and my social media on the right.
As soon as I went live my display is not consistent. It is still shown on every page like I want it to however, sometimes the panels disappear and the data is displayed like it was never put on panels. I believe that the problem is only for anonymous users.
Could you please access my page (http://live-zakynthos.com) and hit a few pages until you see it. It's at the bottom of the page.
I also made a couple of screenshots for you to look. It's on my google albums.
Correct display: http://picasaweb.google.com/lh/photo/Ci2ab9eBInUJgO8sDIR7Zw?authkey=Gv1s...
Incorrect display: http://picasaweb.google.com/lh/photo/GrfIUpG7ueOl4Q8a0m-tqg?authkey=Gv1s...
Many thanks in advance
Comments
Comment #1
sp_key commentedbtw, I have flushed all cache
Comment #2
sp_key commentedFound the problem.
Block Caching was enabled (which is recommended by drupal).
As soon as I disabled it mini panels was consistent throughout.
Is there any fix for this to allow us to use block caching as well?
Comment #3
merlinofchaos commentedThe problem is that block caching does not catch 'out of band' data, which is the CSS that the mini panel needs.
Panels have their own caching mechanism. If you use that mechanism it will catch the CSS data and cache successfully. You will not be able to use block caching with mini panels.
Adding a feature request because I think our hook_block definition can disable that feature, and we definitely should do that.
Comment #4
hpn commented+1 for feature request. Subscribing.
Comment #5
hongpong commentedSubscribing - I was able to fix by disabling systemwide Performance block caching. I had issues with mini panels behaving this way, it seems a similar behavior between other people's panels / mini panels all around. Figure it good to crosspost on threads -
Related: The main thread for Panel Nodes #504552: Problems with panels styles CSS and JS on cached pages.
The feature req to fix mini panels/block caching is: #675844: Mini panels should tell Drupal core they cannot be cached with block caching
Duplicates of related problem #539228: Panels not displaying correctly for anonymous users // #534358: Bizarre intermittent behaviour of panels
Related cache hook issue #717036: Remove css cache clearing from hook_flush_caches() (Duplicate: #626562: Panel page's ctools CSS file may expire while page is cached - may break panel for anonymous users )
Comment #6
merlinofchaos commentedHongPong: Please stop adding confusion. None of the issues you linked are related to this.
Comment #7
merlinofchaos commentedhttp://drupal.org/node/746568 contains a patch that should fix this. Marking this a dup.