Timeline for How do I insert the title of the block between two Views fields?
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 12, 2013 at 22:19 | comment | added | Pere | I'm not sure I really need Views. I hoped there was a better solution in Views for that, but if not... | |
Mar 12, 2013 at 17:43 | comment | added | Capi Etheriel | @Pere, while it is solvable by editing templates, are you sure you need a View for this? It's gonna take some preprocess hacks just for that, you're probably better off just building the block on your own unless you really really need Views. | |
Mar 12, 2013 at 17:00 | comment | added | Pere | Code is preferable but I think I could override views-view-field.tpl for that. The problem I see is that styling a custom text as a title may cause me other troubles. | |
Mar 12, 2013 at 16:50 | comment | added | Obliquely | I'd be very tempted by the second of your 'bad' alternatives. Views can be a bit mean with what is filtered in the Global: Custom text field, though for this custom css would see you right. If you are just using one row, you can exclude some of the rows from display and then pop a Global: Text area in the Header with a more liberal Text format. The Global: Text area makes available all your first row field values as tokens (which for you is only row). All of which said I do get that for some folks, code is preferable to fancy/hacky config, e.g. because of version control issues. | |
Mar 12, 2013 at 16:32 | vote | accept | Pere | ||
Mar 12, 2013 at 16:56 | |||||
Mar 12, 2013 at 15:55 | history | edited | Pere | CC BY-SA 3.0 |
typo
|
Mar 12, 2013 at 15:46 | history | edited | Pere | CC BY-SA 3.0 |
typo
|
Mar 12, 2013 at 15:41 | answer | added | Alfred Armstrong | timeline score: 2 | |
Mar 12, 2013 at 15:39 | comment | added | Pere | For the mockup I've used a free account on moqups.com | |
Mar 12, 2013 at 15:37 | comment | added | Pere | It's only one result because it's a header of another view. | |
Mar 12, 2013 at 15:33 | answer | added | niksmac | timeline score: 2 | |
Mar 12, 2013 at 15:29 | comment | added | Capi Etheriel | do you have multiple results in that view? or is it just one? plus: what have you used for that mockup? it looks great! | |
Mar 12, 2013 at 15:21 | history | asked | Pere | CC BY-SA 3.0 |