Hi

I am trying to stop an Open Atrium Context placing a Views exposed filter block in the right hand sidebar when the theme is "mobile" ( a subtheme of "ginkgo" ) rather than the default OA theme "ginkgo". I have added a condition that the theme is "Ginkgo" and that "All conditions are required". The second condition is a view.

Unfortunately the block still appears irrespective when the theme is "mobile".

I have attached an export of the context.

Any ideas or hints would be appreciated.

Thanks

El B

CommentFileSizeAuthor
contextexport.txt920 bytesEl Bandito

Comments

hadsie’s picture

Status: Active » Postponed (maintainer needs more info)

Hey El B,

Not sure what's going on here.. your context looks just as it should. Are you still having this problem? I'm going to roll a new release of this module soon, and perhaps that will fix it.

ericaordinary’s picture

I am having a similar issue, trying to show a block only for my desktop theme, not the mobile theme. I have tested the beta and latest dev and the problem still exists. I have a similar context to El B, except mine has node type and theme conditions. Require all conditions is checked. I also have the same problem on a context with path and theme conditions checked, so I don't think it's related to any specific condition combination.

I am using Mobile Tools module to switch themes and I think this may be a cause/contributor. El B also mentions a mobile theme, so perhaps he was also using Mobile Tools. I've done some basic debugging of the module and it appears that the theme is being detected by context as the default theme rather than the mobile theme (despite the mobile theme being active and enabled for the pages in question...). On a mobile themed page Context Editor offers my default theme as a condition rather than my mobile theme, which also suggests the check of the active theme is not working correctly.