Hi,

Is there a way to use the node title as block title? I tryed as usual with this technique (http://drupal.org/node/945858#comment-3604114):

  1. add a nid argument to the view.
  2. set the argument's title field to %1.
  3. choose "provide default argument" and set it to "nid from URL".

but it didn't work.
Any ideas?

Comments

cableman0408’s picture

Status: Needs review » Closed (won't fix)

Because of the way this module works, the node's title is not used as block title. The reason is that this would require a extra database call or - even worse - a node-load, which will give a performance hit.

But you can achieve almost the same markup by using the node title as a field in views and use a template or the sematic-views module to wrap the title field in a tag e.g. h2.

When using node spotbox the views argument should always be the nid, the module passes this as the argument to display the right content.