I needed to alter the options in a nodereference field with logic that goes beyond using a view. There did not seem to be any sane way to do this. By adding a drupal_alter I was able to do so cleanly.

Members fund testing for the Drupal project. Drupal Association Learn more


tamasd’s picture

Status: Needs review » Reviewed & tested by the community

This patch came really handy for my module, thanks.

joscar’s picture

Version: 6.x-2.6 » 6.x-2.10
Issue summary: View changes
710 bytes

Updating patch for the 6.x-2.10 version of CCK

grndlvl’s picture

590 bytes

Re-rolling so automated patches.make applies patch without hassle.