This module is precisely what I've long been looking for, but when this module works at all, it appends the following to the front of every field that is output:

, 0 class="views-field-nothing">

It also causes the list to wrap at the edges of the screen rather than the edges of the site's theme.

Screenshot: http://www.foxcitiesrummage.com/files/delimitedoutput.jpg

I've tried both 1.0-alpha1 and 1.x-dev and both produce the same result.

CommentFileSizeAuthor
#5 fixed_0_field_tag-1153136-5.patch877 byteszhangtaihao
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

zhangtaihao’s picture

Sorry for taking this long to respond. I've just noticed that issues opened in my projects don't show up in my issues in my dashboard.

In any case, assuming the screenshot you've attached is what's actually displayed on the page (and not the HTML source), it actually looks like the result of malformed HTML. I'd recommend you check the configuration of the views field (probably a Global: Text area or Customfield or something similar). Specifically look at the "rewrite output" setting.

If you're still unable to figure out what's wrong, could you please attach the HTML source of the view, probably within div.views-delimited-list so I can see where exactly does the markup for the comma delimiter end and where the 0 shows up?

zhangtaihao’s picture

Oh and please check to make sure the displayed field is displayed as inline, in the "Fields" row style settings. This is required to wrap your whole field in span tags, although it doesn't explain you'd be getting unbalanced tags within a field (unless there's a serious bug with my views_view_fields override).

zhangtaihao’s picture

Actually I'm starting to get an idea of what might be wrong. I'll attach a patch when I'm done with a preliminary fix so you can see if that's solves your problem.

zhangtaihao’s picture

Version: 6.x-1.0-alpha1 » 6.x-1.x-dev

Could you tell me which version of Views you're using?

zhangtaihao’s picture

Title: Module spits out stray code in list » Field element shows up as "0"
FileSize
877 bytes

Oopsy-daisy. Typed inline-html instead of inline_html. My fault entirely.

I've pushed to to the latest 6.x-1.x-dev. Use the attached patch if the package isn't updated yet.

markdavidzahn’s picture

Status: Active » Closed (fixed)

Thanks! That did it!

zhangtaihao’s picture

Status: Closed (fixed) » Fixed

Thanks for your feedback.

Marking this issue as fixed so that other people can find it.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.