I have a block listing nodes that all reference the same 'parent node' (etity reference). I would love to see the title of the referenced node as a title of that block.
Example: on a record label website there could be nodes for albums. Every album node references one artist. On an album page there would be a block listing "Other Albums of Artist XY".
I know my question is quite similar to this question "Dynamic block titles" but the solution on that question suggests using Tokens in the block's body, along with some h2-tags, so that it would look like the block's title.
Sounds like a swell workaround – however – since the block I use comes from a view, there is no body I could place tokens in.
Another workaround that almost did the trick was to add the referenced content type to the fields of the view, hide the output, then use tokens in the header of the view (again with h2 tags). But I only could get the referenced node fully rendered, making it impossible to use as a fake block title.
How can this be done? I would gladly welcome any hints and/or pointers…