I'm having trouble with location cck fields in views. In the views fields section, you can't add location cck fields (zip, state, etc.). It just gives Content: Location which doesn't help. I need to be able to add Latitude and longitude from the cck fields. Is there a patch do this? Or is there a way to use the cck fields for the node location?
Comments
Comment #1
Anonymous (not verified) commentedI may be understanding your problem incorrectly but ...
If you add a CCK location field to a content type, a full Location data entry panel is there when you create a new node. It contains the following:
Location name:
Street:
Additional:
Country:
Latitude:
Longitude:
Comment #2
phayes commentedI believe the request is specifically about Views integration. Individual sub-fields are not exposed for Location CCK fields as they are for Node Location fields.
Comment #3
zzolo commentedSorry, wrong thread. Need to close tabs. :)
Comment #4
zzolo commentedComment #5
summit commentedSubscribing, greetings, Martijn
Comment #6
phayes commentedFYI - getting this working would allow us to map LocationCCK fields with openlayers: http://drupal.org/node/698004
Comment #7
phayes commentedAlso, here is a work-around: http://geomemes.com/node/78
Comment #8
Jerome F commentedI have the same request. With location node the location fields in views are exactly what I need. But there doesn't seem to be the same fields associated with CCK locations.
Comment #9
Jerome F commentedOh I get it, there's no difference between location fields that are created with cck location and node location. Then I can use the fields in views the same way. For me it's ok.
Comment #10
szy commented@Jerome, could you please share with us a sample view
working both with Location and Openlayers?
Thanks,
Szy.
Comment #11
ankur commentedClosing due to lack of activity.