Closed (fixed)
Project:
Context
Version:
6.x-3.0-beta4
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Apr 2010 at 13:38 UTC
Updated:
6 Feb 2021 at 20:35 UTC
Jump to comment: Most recent
Comments
Comment #1
mrsimonelliott commentedI have seen what is happening now, not sure why though.
The condition Sitewide is only applying to my admin pages. Previously the block wasn't displaying at all because the region I had chosen didn't exist in my admin theme. Now I'm using the same theme for admin as frontend, my block which should be displaying sitewide is only showing on the admin pages.
Comment #2
yhahn commentedIs this still occurring in the latest release?
Comment #3
dsayswhat commentedI'm seeing a similar issue:
I can see the sitewide context most places, but it seems to fail when I visit content type pages.
The front page also wouldn't show the sitewide context, and so on a hunch I demoted all my content from the front page, leaving it empty, and guess what - sitewide context shows.
The issue appears to be only on pages that involve content types in my site. I tried various things like devel-generated content versus content entered by hand, and cck types vs stock pages as offered by Drupal core...no difference.
I did one more look, and rendered the same view a couple of different ways - a page displaying as 'html table' showed the sitewide context just fine, but 'node' display loses it.
Hope this helps...
Comment #4
n3uronick commentedI have the same problem.
Comment #5
dsayswhat commentedI was able to test further - this issue does not show up on Garland, Cube, or various other themes I've tried.
In my setup, the sitewide context goes missing when using the Fusion theme ( or its subthemes ). Apparently they don't play well together.
The details are:
In the fusion_core base theme, the fusion_core_preprocess_node function calls theme('blocks') on lines 167 and 168. When commented, the sitewide context shows up as normal.
I tried to replicate the bug in a non-fusion theme, but wasn't able to make the sitewide context fail. My guess is that Context might be slightly fragile when paired with themes like Fusion that do a lot of stuff.
There's an open issue in the Fusion theme issue queue (http://drupal.org/node/865782), so a solution could be reached over there...
Is there any way to make Context more bulletproof so that this kind of interaction with themes isn't so troublesome? Can it be made to respect but override theme behaviors for the purpose of enforcing it's control of the block system? Maybe it could be an optional behavior...sort of a --force for context?
Comment #6
yhahn commentedHave you tried to reproduce this with Context beta7 and or the latest dev release? There should be some better handling of early calls to theme('blocks') in these releases.
Comment #7
paulocsDo you still have problems with 7.x or 8.x?
As context 6.x is no longer supported, I will close it.
Please feel free to reopen it.
Thanks.
Comment #8
paulocsComment #9
paulocs