Closed (duplicate)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Jun 2009 at 23:46 UTC
Updated:
15 Oct 2009 at 17:55 UTC
from IRC
example: a view that lists node fields grouped by taxonomy term
- the goal is to display the term description below each term
- a solution is rewriting the output (something as simple as: [name]
[description])
- the problem is grouping doesn't respect rewriting
reminder:
" is starting to realize that for rewriting to really work right, we need to take field rendering away from the style and just give the style an array of rendered fields."
Comments
Comment #1
dboulet commentedHaving the same problem, the group headings aren't rewritten.
Comment #2
mariagwyn commentedSimilary problem. The rewrite respects html but not field tokens. for example:
This code, which rewrites the 'name' field used for grouping purposes (and below the other relevant fields),
produces this html:
Essentially, the fields are not being incorporated into the group-by.
Any way to address this?
thanks,
Maria
Comment #3
merlinofchaos commentedhttp://drupal.org/node/502348#comment-2080058
Comment #4
mariagwyn commentedyup, that patch worked. Thanks.