Alrighty crew... here's my original post:
http://drupal.org/node/152970

Here's my revised approach:
http://drupal.org/node/153060

And here's me requesting help from the Views module team:
http://drupal.org/node/153067

So who can help me pass the node title as an argument for a View's block? $15 bounty (not a lot, but I suspect the solution is very simple). I've received some partial answers but nothing working. First working solution takes it. Contact me via the boards or via my contact form. I'll post the solution here for everyone's review, too.

Comments

thedrake’s picture

hi,

it looks like merlinofchaos gave you a solution in your views support request:

if your views block is being displayed on a node/x page, then the following should work:

if (arg(0)=="node" && is_numeric(arg(1))) {
$node = node_load(arg(1));
$args[0] = $node->title;
}
return $args;

a more complex solution is required if your node is buried inside another view.

PS: you can keep the $15

prattboy’s picture

Seems to work like a charm. Thanks!