Closed (fixed)
Project:
Openlayers
Version:
6.x-1.x-dev
Component:
OpenLayers Views
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jul 2009 at 01:47 UTC
Updated:
11 Aug 2009 at 16:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
phayes commentedThis is also true for the popup code. Although if you now select "all fields" then it themes fine.
Comment #2
digi24 commentedThank you very much, it works as expected.
Are there any cases, when you would not want to use "all fields" in an OpenLayers view?edit: meanwhile I came into a situation myself, where it would be useful to have style aplied to individual fields.
Comment #3
brynbellomy commentedI've solved this with a patch. Check it out. Now we're calling advanced_render() on all fields before using those fields to build the map data (it's done to tooltips/popups fields, but to everything else as well). Warning! Some fields' values will be different now. If you used any of the fields to do any kind of funky theming/styling (for example, based on node_type or something), this patch may change the values you need to test for. For ex: node_type might once have been 'group', and is now 'Group', etc.
Also solved some lingering DOS linebreaks (*shudder*).
Comment #4
phayes commentedCommitted: http://drupal.org/cvs?commit=243904
Some changes to the submitted patch. I stored rendered records separately, so we can include both rendered, and unrendered fields in the attributes. This will likely be useful for anyone who wants to add behaviors etc. that use the raw values.