I can see use cases for setting the context based on the node one is visiting. Is this something you have thought about?

Comments

yhahn’s picture

Assigned: Unassigned » yhahn

To clarify, are you interested in setting a context for a single specific node? We have hacked this together on a few projects and have never put together an ideal interface for this -- what would you like to see here?

  • Nids separated by commas?
  • Nodereference-like autocomplete?
  • Something else?

It may also be interesting to approach this from a UI perspective from the other side -- add a small portion to the node form that allows an admin to select a context to be active when viewing that node. It could then be displayed on the context form and maybe removed from there as well.

anantagati’s picture

I like this idea also.

What about mix of both? Something similar to taxonomy tags, with difference that on selection of Node title it will insert Nid for that node instead of title text.

In that way people can use Nids separated by commas, but if they will not know exact node nid, they can start to write title of the node.

yhahn’s picture

Status: Active » Closed (won't fix)

For now, please use the path condition to set contexts on individual nodes -- either by the node's path alias or by the actual node/nid path. Let me know if this doesn't address your needs.