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.

Files: 
CommentFileSizeAuthor
#3 843832-2-cck-noderef-allowed-values.patch590 bytesgrndlvl

Comments

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
FileSize
710 bytes

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

grndlvl’s picture

FileSize
590 bytes

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