Timeline for How do I insert the title of the block between two Views fields?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 12, 2013 at 16:56 | comment | added | Pere | Confirmed: Overriding views-view-unformatted.tpl.php cannot alter the block title | |
Mar 12, 2013 at 16:45 | comment | added | Pere | thanks, that was. But I cannot print the block title because $title is empty. And I would need to theme only the header display, which seems is not possible: views-view-unformatted--VIEWNAME--block.tpl is printing the display as a row. | |
Mar 12, 2013 at 16:32 | vote | accept | Pere | ||
Mar 12, 2013 at 16:56 | |||||
Mar 12, 2013 at 15:50 | history | edited | Alfred Armstrong | CC BY-SA 3.0 |
added 1 characters in body
|
Mar 12, 2013 at 15:45 | comment | added | Capi Etheriel | Yeah, I'm with @Alfred here. What you're looking for is actually printing some fields, then the title, then more fields. Editing the template should be enough. Although I'd copy over and edit the views-view-unformatted.tpl.php template from the Views module. | |
Mar 12, 2013 at 15:44 | comment | added | Alfred Armstrong | To pull individual fields out of the view in a block template may be tricky, though so your alternative suggestion of hiding the title and generating it as a field inside the view might work better in practice. | |
Mar 12, 2013 at 15:41 | history | answered | Alfred Armstrong | CC BY-SA 3.0 |