Issue when intergrate with gmap_views
jimyhuang - August 10, 2008 - 09:54
| Project: | CCK GMap Address |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I try to intergrate with gmap_views, then I doing following change and find some issue in cck_gmapaddress.
When using views to insert latitude and longitude value, I can see the number of result is correct, but when I want to insert into gmap_views, then I found the two fields of views queryname is the same, even if I adjust the option field into latitude.
"node_data_field_adopt_address_field_adopt_address_longitude"
"node_data_field_adopt_address_field_adopt_address_longitude"But only the quername like that the gmap_views will get correct value.
"node_data_field_adopt_address_field_adopt_address_longitude"
"node_data_field_adopt_address_field_adopt_address_latitude"Any ideas?

#1
This can be fixed by implementing custom tables-data for views in cck_gmapaddress_field_settings (with $op = 'tables').
At the moment I cannot focus on that. If you want to try, you can use
content_views_field_tables()incontent_views.incof the cck module as starting point. For more infromation on the tables-op ofhook_field_settings()you can look atfield.php.#2
have you succeed, to do this ?