I have a view that is being displayed as a table. In the table settings page, I combined a few of the fields to render in the same column. When I do this, each of the fields loses its label. Is this a bug or is this working as intended? In most cases I am able to hack this by rewriting the output to hardcode a label.

Where this doesn't work is when I am displaying taxonomy terms. If I rewrite the output like "Tags: [term_node_tid]" then it renders a label in front of each term when all I need is one label "Tags" to appear before all the terms.

I also found a post that described where I could use Global Custom Text to display the label. But then when there are no results, the label still shows up.

It seems like when I check the field setting that says "Create a label" that even though I move it to another column, it should preserve the label. If there's no way to address this in the module, is there a workaround? Thanks. Awesome module BTW.

Comments

dawehner’s picture

I would say that this is how its intended to work.

On the table style the actual field label is not displayed in front of each field, but on the table header, you can check this by simple setup a table :)

Once you show both fields at the same column, only the label of the first field is used, and the second one is ignored.
If you want to have the second one as well, just change the label of the first one, to what you actually need.

hollyfox’s picture

Issue summary: View changes

This seems similar to my issue. I have multiple fields in one column, however, when the first column does not have ay return, the column label disappears even if there are results in the other fields. Speaking of practicality it makes no sense to group multiple field in one column and not have the label show when the first field has no content in it and the others do. It does make sense to have a method of showing the label regardless of whether there is content or not.

It appears to be working in our D6 site in the same view, so I am wondering if this is just an oversight. In the meantime, I have much to work on so I am hoping that someone can figure this out without my having to find a hack for it and submit a patch.