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.
Motivation
We need to set the visitors location based on other information that the given from the ip_geoloc module. It would also be great to set a different popup and tooltip text.
But for the moment we have no possibility to alter these informations.
Proposed resolution
Let other module alter the ip_geoloc_get_visitor_location() function. That modules can implement hook_ip_geoloc_get_visitor_location_alter().
Comment | File | Size | Author |
---|---|---|---|
#2 | ip_geoloc-alter_ip_geoloc_get_visitor_location-2571993-2-D7.patch | 2.32 KB | weri |
Comments
Comment #2
weri CreditAttribution: weri at Previon Plus AG commentedComment #4
weri CreditAttribution: weri at Previon Plus AG commentedThere are a lot of changes in one of the latest commit of the file /views/ip_geoloc_plugin_style_leaflet.inc. Thats the reason, why the patch does not apply.
Comment #5
RdeBoerThanks weri.
Patch corrected and applied manually.
Rik
Comment #7
RdeBoerThis should really also be applied to IPGV&M when used in combo with Google and Openlayers....
Comment #8
RdeBoer