Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
cck_views_default_argument_plugin.patch | 2.45 KB | yhahn |
Comments
Comment #1
yched CreditAttribution: yched commentedDid 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 ?
Comment #2
plopescI think it is a good option and it should be taken into account.
Regards