Closed (fixed)
Project:
Field reference
Version:
7.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Nov 2013 at 10:30 UTC
Updated:
22 Mar 2016 at 06:04 UTC
Jump to comment: Most recent


Comments
Comment #1
maen commentedOK, found the problem.
Line 340:
The brackets after $result[$delta] were missing.
Comment #2
dmoonman commentedThis is a good find. However, what would need to be done to wrap each of the results produced here with a specific type of HTML tag?
This fix produces SPAN wrappers, but what if we wanted to wrap each result as with an LI tag.
I tried the following but this returns nothing;
Comment #3
maen commentedIf you return result[$delta] instead result, you'll get the rendered output by drupal. So there are the usual li items.
Comment #5
danielb commentedFixed with spans. Hook into the render array if you want to change it from spans to something else.