Closed (works as designed)
Project:
Context
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jun 2011 at 09:12 UTC
Updated:
11 Feb 2013 at 12:49 UTC
I've tried to set up a simple context: if node type X activate menu Y. The strange thing is, on the node edit page it's working, but not on the node view.
"Set on node from" is set to yes, so this shouldn't affect the node view.
I've changed back to bartik theme to exclude theme issues.
Here is my context (my node type is project, feel free to change to blog):
$context = new stdClass;
$context->disabled = FALSE; /* Edit this to true to make a default context disabled initially */
$context->api_version = 3;
$context->name = 'test2';
$context->description = '';
$context->tag = 'test';
$context->conditions = array(
'node' => array(
'values' => array(
'project' => 'project',
),
'options' => array(
'node_form' => '1',
),
),
);
$context->reactions = array(
'debug' => array(
'debug' => 1,
),
);
$context->condition_mode = 0;
// Translatables
// Included for use with string extractors like potx.
t('test');
Comments
Comment #1
OnkelTem commentedSame here
UPD. No, I was wrong. My issue is related to Panels and fixed here: http://drupal.org/node/595744
Comment #2
bojanz commentedComment #3
korzh-nick commentedI have the same problem.
context-6.x-3.1
context_primary_links-6.x-1.0
I do not understand why Issue has been closed