Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#5 | fixed_0_field_tag-1153136-5.patch | 877 bytes | zhangtaihao |
Comments
Comment #1
zhangtaihao CreditAttribution: zhangtaihao commentedSorry 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?Comment #2
zhangtaihao CreditAttribution: zhangtaihao commentedOh 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).
Comment #3
zhangtaihao CreditAttribution: zhangtaihao commentedActually 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.
Comment #4
zhangtaihao CreditAttribution: zhangtaihao commentedCould you tell me which version of Views you're using?
Comment #5
zhangtaihao CreditAttribution: zhangtaihao commentedOopsy-daisy. Typed
inline-html
instead ofinline_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.
Comment #6
markdavidzahn CreditAttribution: markdavidzahn commentedThanks! That did it!
Comment #7
zhangtaihao CreditAttribution: zhangtaihao commentedThanks for your feedback.
Marking this issue as fixed so that other people can find it.