This patch provides a views default argument plugin that retrieves the selected field's value from the current node. It is useful for building Views that need to retrieve a given field's value when put in a block or attachment on a node page without requiring spaghetti PHP eval() code.

Patched against CCK DRUPAL-6--2.

CommentFileSizeAuthor
cck_views_default_argument_plugin.patch2.45 KByhahn
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

yched’s picture

Did not test, but this looks interesting and witty.
Seems strange that options_form() doesn't build on the parent::options_form() method. How do you select the node itself ?

plopesc’s picture

I think it is a good option and it should be taken into account.
Regards