I have a Drupal 7 view that gives me a list of links to recently added content of a specific type. For what it's doing, it's working fine.
However, it puts every content item in a separate
<div> causing it to appear on a line of its own. I'm using the Unformatted list output format with all fields set as inline.
I want to simply list all the items concatenated.
Currently the view renders as approximately the following HTML:
<div class="view-content"> <div class="views-row views-row-1 views-row-odd views-row-first"> <span class="views-field views-field-timestamp"> <span class="field-content">DATE1</span> </span> - <span class="views-field views-field-title"> <span class="field-content"><a href="LINK1">TITLE1</a></span> </span> </div> <div class="views-row views-row-2 views-row-even"> <span class="views-field views-field-timestamp"> <span class="field-content">DATE2</span> </span> - <span class="views-field views-field-title"> <span class="field-content"><a href="LINK2">TITLE2</a></span> </span> </div> ...
I can get rid of the DATEs easily enough; that's just one of the fields being displayed. I was able to add the separating commas (using Custom text), and can easily use CSS to hide the last one if there's no better way. The problem is that I want the view to then basically render in the browser as something not entirely unlike:
TITLE1, TITLE2, ...
for the specified number of entries, where each TITLE is a link to the relevant LINK, the browser displaying them all in one normally-word-wrapped line.
How do I accomplish that?
Seemingly no matter what I try, the newlines remain in the browser-rendered output. Google was decidedly unhelpful, although I'm not ruling out that I searched for the wrong terms.
Just in case it makes a difference, I am using the MAYO theme.