context.module provides a great infrastructure for performing reactions when a sitebuilder-specified set of conditions are met. Currently, context.module allows sitebuilders to match a node on, say, its path alias or its menu link. However, path aliases aren't robust since they won't survive translation, and menu links won't survive exporting to Features since they depend on the node's autoincrement nid.
I propose adding a context.module Condition to uuid.module, allowing Contexts to be triggered by matching the current node's UUID.
Patch attached.
Comments
Comment #2
smokris2nd try. Can't assume context.module exists. Thanks for testing, PIFR-bot!
Comment #3
smokrisRevised patch: only activate context when full node is viewed (not teaser).
Comment #4
skwashd commentedMoving to the context_uuid project. The project is currently D7 only.
Comment #5
skwashd commentedUpdating title to better reflect the nature of the request.
Comment #6
skwashd commentedIt has been more than 6 months since this issue was filed and the submitter hasn't rerolled it I am marking this as wontfix. If someone wants to pick this up they're welcome to do so, but official support for the D6 port will end when Drupal 8 is released.