Hi there,

Hope you can help me. I am loading a delta theme based on Context > Taxonomy with the tag "education'.

When an article is loaded (with the appropriate tag), all is good.

But when a basic page is loaded (again with the appropriate tag), it never fires.

Wondering if I am doing something incorrect, or if anyone has any ideas?

Thanks in advance!

Comments

lookatthosemoose’s picture

I can confirm this behavior for the default 'Basic Page' content type.

lookatthosemoose’s picture

Title: Context working with 'article' content types but not 'page' types » Context won't apply to default 'Basic Page' content type nodes
Version: 7.x-3.x-dev » 7.x-3.0-beta4
Category: support » bug

I can confirm this behavior for the default 'Basic Page' content type. Steps to replicate:
1 - Create a basic page with a page alias
2 - Create a context with condition: path set to alias of basic page node
3 - Set arbitrary reaction
4 - Visit URL of basic page node
5 - See context not activated
6 - Inspect classes, see no context-[context_name]

I believe this to be a bug.

tekante’s picture

I am not able to replicate using the instructions in comment 2. I created a basic page with path alias of arbitrary-alias-1515768. I created a context to activate on condition path arbitrary-alias-1515768 with a debug reaction. When I visit the path arbitrary-alias-1515768 I see the debug reaction fire.

tekante’s picture

Status: Active » Postponed (maintainer needs more info)
mr.marlin’s picture

A while back I had a Context issue acting in a similar way as yours, and I also was using the Delta module. The solution was to add/set a Reaction for the delta in addition to your reaction for Blocks, etc. If you didn't set the Delta reaction, the context would not work. So set the Delta, and hopefully all will be good again.

tekante’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Closing as unable to reproduce and additional debugging information is not available to continue troubleshooting. Hopefully malibumarlin's information allows for resolution of the issue but if not please provide more details about how to replicate.