Closed (won't fix)
Project:
Node Spotbox
Version:
6.x-1.4
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Jun 2011 at 10:08 UTC
Updated:
25 Jun 2011 at 18:59 UTC
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):
but it didn't work.
Any ideas?
Comments
Comment #1
cableman0408 commentedBecause 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.