Closed (fixed)
Project:
Context
Version:
7.x-3.0-beta1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Mar 2011 at 19:58 UTC
Updated:
27 Jan 2012 at 03:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
e2thex commentedI have attach a patch to add the reaction. Having a little problem with the test (it currently fails :(), will revisit the test later
Comment #2
e2thex commentedSo part of the problem was that that patch did not work but the test is still failing
Comment #3
tekante commentedIt is unclear to me why the test is failing. When I add some debugging statements and look at the output I can see that the testcontext is enabled and that the content region is being unset via the execution of the plugin but the content still appears on the page as simpletest sees is.
You can add the following to see that the context is active
And putting the following on line 40 of context_reaction_region.inc
Shows that the plugin is running and unsetting the content region when inspecting the page fetched by the test even though the content region content is present right below the message.
Comment #4
febbraro commentedGot the test working. Committed.
http://drupalcode.org/project/context.git/commit/ecc16d7
Comment #5
mrtalloy commentedHow do I install this to use it?
Very good idea by the way!
Comment #6
tekante commented@mrtallow - the latest 7.x-3.x-dev release contains this code for use or you can use git to keep up with the absolute latest between dev snapshots
Comment #7
mrtalloy commentedBril! It's working great - I've tried it with views and with pages and it works really well on both
This is a really good module. Have you got more plans with its functionality?
I wish I knew how to write these things so I could contribute. Anyway thanks a lot, this is awesome!
Comment #8
mrtalloy commentedfixed*
Comment #9
febbraro commentedComment #10
ntigh52 commentedHi to all,
I instal the Context Module I changed and added the files with the bug, but I dont know how to instal the patch.
I dont know how to solve that issues:
1. I deleted regions but the header and footer still Appear.
2. I can change blok position on the reaction.
3. What is the easy way to define a different theme to spicific content type?
Can anyone help me to solve my problem?
please....
Comment #11
sorensong commentedSoooo has this been added? I'm not able to 'disable regions'.
Comment #12
tekante commented@sorensong - yes this has been added, in the reaction you should see a region option and when choosing it should be able to select the region(s) you want to disable for each of your active themes when the context is active.