Real-world geographic locations to be associated with Drupal

learn more… | top users | synonyms

1
vote
0answers
8 views

GMap Location Center - According to pin

The Gmap location field marker is located by default at the center of the map. How can change that ? I want the center of the map to be calculated according to the value that i have entered. For ...
0
votes
2answers
24 views

Deny location based access to nodes

I need to restrict access to a node based on the distance of the current user to a location attached to the node (with Location module). The distance to decide, if access is allowed is node based and ...
0
votes
0answers
16 views

Location Module fields are not available under Search api fields

I am using Search API's Default Node index. I am using Location module to store Location data. But location module fields are not available under Search API Related fields. I know this has been an ...
1
vote
0answers
10 views

How to show appropriate country name in location module in multiplanguage sites?

The problem: Neither with i18n nor with entity translation switcher the country names are correct. E.g. in a German/English site the country names should be Deutschland and Germany when the ...
0
votes
1answer
24 views

How can I access location information via rules, to include the City of a node in an email?

I have a rule, which works like this: After saving new content, Fetch users who have flagged a Taxonomy term, Loop, send email. The emails get sent perfectly, to users who have flagged the specific ...
0
votes
0answers
8 views

Display content on the basis of geographical locations

Hi I am developing a property management system, I have one requirement that users will be adding a property from different locations. I should have a solution like when any user visits from different ...
0
votes
1answer
61 views

Filter by postal code as location within user defined radius

I have to make a filter in which user will add postal code and select a radius. Suppose, user entered postal code = 12345 (which results into city 'XYZ') and the radius of 200 miles. So all nodes ...
0
votes
1answer
73 views

Create view to display a Gmap for locations on node you are currently viewing

I am using Gmap 7.x-2.9 and Location 7.x-3.6 on my Drupal 7.34 site. I have setup a custom content type for "Locations". So if I, for example, added a new Location called "California" I could add in ...
1
vote
1answer
46 views

Fixing identical Latitude/Longitude data for markers on maps (bug)

I have a Drupal 7 project that I want to add location information (latitudinal/longitudinal) to most of my content types. Currently I have noticed that if there are multiple nodes that are shown on a ...
0
votes
0answers
71 views

How to use location distance / proximity filter with facet search api

I am using location, gmap, facet api modules and I have created search page for node with facet api. I want to use distance / proximity filter for facet search but I didn't get distance / proximity ...
0
votes
0answers
48 views

2 Locations proximity and content: Nid

I am developing a Drupal 7/Omega 4 (panels & views) estate agent app. For each individual property I need to include distance/proximity to their local schools. With that in mind, I installed ...
0
votes
2answers
118 views

Location Proximity Search using db_select in Custom Module

I want to build a custom block which uses the nid of the node it's visible on to pull in nodes within a radius of 50 miles based on it's geolocation. I am using the location module and gmap where ...
0
votes
1answer
10 views

View will not display taxonomy location information

I have a taxonomy that contains information about event venues. I am using the location module to add locative information to these taxonomy terms. I've created a view so that I can see all my venues ...
-1
votes
1answer
41 views

Location taxonomy

I want to add a location to my products/articles in 2 different ways : -user enters a town (linked to a taxonomy) -> I know how to do it -user enters a county which is automaticly linked to a ...
0
votes
0answers
55 views

Drupal Location: reverse geocoding city+country from lat/long

What I want is, when I fill out latitude/longitude in an address field in Drupal, a module hook to automatically fetch more address details. I only need city and country. What I did is install the ...
0
votes
0answers
61 views

Display certain nodes based on user's proximity (i.e. “local” homepage vs “non-local” homepage)

(Using Drupal 7) My client's website has a series of blocks with a custom content-type of "Call To Action" (CTA). They would like to customize the homepage and show certain CTA nodes to local ...
1
vote
1answer
67 views

Views Eposed filter - proximity search, include content without a postal code

I have a proximity search set up using gmap location by postal code. Using Drupal 7/Views 3. The exposed filter allows the user to filter by (taxonomy)type and/or postal code. This is what I need ...
0
votes
0answers
14 views

Drupal alter country list generated by location module [duplicate]

I want to remove some countries from the drop down field provided by location module, is there any admin way to remove the fields or hook_form_alter is the only way to limit them, thanks in advance
1
vote
1answer
34 views

How to copy address on node translate action

My website is an i18n web site. When it's time to manage content with a location field (address) I need to manually copy the address. Is there a way to make the location copy automatically on ...
0
votes
0answers
14 views

Location module is not copying address information when I want to Translate it

I Would like to know if there is a way to make the Location section for a node to be copied when I click on Translate button. The Address is the same in both language and right now I need to right ...
0
votes
0answers
91 views

How to auto store Latitude Longitue based on Address fields in Location module?

I am using Location CCK in my Store Entity. In my case, user can add store Address only. He doesn't have idea about Latitude and Longitude of Stores. How can I populate Store latitude longitude on ...
0
votes
0answers
19 views

dinamic domain and language depending IP location

Hi I have a request that I don't know how to do. I need to show to the user a domain depending his IP location. for example if user is in usa the domain should be www.example.us if user is in UK the ...
0
votes
2answers
36 views

Need a solution to search by sales person based on unique territory

I've been researching for hours for a solution, but I can't find a module or example of someone else needing this feature. I have a list of 20-ish sales people, each person is assigned a range of ...
0
votes
1answer
128 views

Drupal 7 - Maps - Location: Distance / Proximity - grouped filters not working

hopefully someone can help or assist me here I have a map, and my goal is to show a number of nodes (apartments) depending on what the user selects on an exposed filter It works ok for the price, ...
0
votes
0answers
45 views

Gmap Location is not showing default map and is broken

I have programatically populated the location table and when viewing the page the map does not default to the latitude and longitude values. Any ideas? Collapsable hack work-around has been enabled ...
0
votes
1answer
52 views

$node object not populating with data

I'm using the Rules module to execute custom PHP script whenever a new node is saved after importing via Feeds module. <?php $lid = db_insert('location')->fields(array( 'additional' => ...
1
vote
1answer
38 views

Ask visitor if he want to view page on his language

I use Internationalization module on Drupal 7 for multi-language content and my default language is English and I have one more language. The thing I have to do is: To check if visitor is from ...
0
votes
0answers
33 views

Views proximity search by postal code not accurate

Is there any reason why Location View Proximity search by postal code is not accurate. I want to make search by Canadian Postal Code and even if I put an invalid postal code, the views return data. ...
0
votes
1answer
259 views

Location - Distance/Proximity between 2 fields

I am working on Drupal 7 project (omega subtheme) with panels and views. Trying to create a list of local secondary schools and their distance from a few locations. Installed Location Module, enabled ...
0
votes
1answer
45 views

Location Module and Search api

I am using the Location Module to add a location to a field on a content type I am then using Views and Search Api to create an index and a view of this content type. The problem I have is that I ...
0
votes
0answers
9 views

How to Add Location Search Block

I have Location and Location Search Modules enabled. Under Search Settings (/admin/config/search/settings), I have selected "Location Search" under Advanced Search Modules. This allows a user to ...
0
votes
0answers
88 views

Views: Display users with a gmap attachment

I have location, gmap and profile2 modules installed on my site. In a profile type I have added a location field so that the user can add his/her location on profile edit. I want to display all users ...
0
votes
2answers
25 views

Drupal services add location

I am trying to add a location to a node using Drupal services. This is the JSON sent to the service { "node":{ "type":"restaurant", "title":"Restaurant from JSON API", ...
0
votes
0answers
73 views

Location Module, setting a default country via SmartIP

I would like to select a default country on the location module using smart IP. mostly the default location is set to US< but I want to change it to the user's current location/IP. can you please ...
0
votes
0answers
73 views

Extended GMap of taxonomy terms not referencing properly

Trying to render an Extended Gmap of Taxonomy terms with Locations (module) in Drupal 7. instead of rendering the terms in the map properly (there should be about 8) it renders 2 of them and those ...
0
votes
0answers
36 views

How do I use OpenLayers with two data overlays?

I am using OpenLayers with Views and Drupal 7 to create a product locator. I currently have a data overlay that can successfully find locations within the proximity defined and display it them on a ...
0
votes
1answer
137 views

How to configure gmap in template file

I override node display for content type Match Fixtures by creating node--match-fixtures.tpl.php file and put code below: <?php $location = $content['field_stadium'][0]['#locations']; $stadium_map ...
0
votes
3answers
395 views

Can't find custom block php code in the database

I've created a custom block in Drupal 7, to display, in the upper right corner on every page, a menu that is context sensitive. Based on certain user attributes some functionalities are enabled or ...
0
votes
2answers
45 views

Dynamic locations in page content

My company website has several physical locations / branches that need to be referenced all throughout the website on basic pages. I would like to create one central table with one instance of each ...
0
votes
1answer
563 views

D7 Location module proximity search

I want be able to have users search for other users based on distance. I thought I did it correctly but everytime I search I get no results. Heres what I did: Install location ...
0
votes
3answers
279 views

Where is my views-view-field.tpl.php and the other views templates

I can not find my vviews templates, where are they? In my /modules/ I don't have a views sub dir and in /sites/all/themes/modules I have a sub dir called views_php which doesn't seem to contain the ...
0
votes
1answer
151 views

Bulk update lat/long taxonomy terms

I have Province/City taxonomy with 5000+ terms. I would like to add lat/long field or something and bulk update whole taxonomy so i can use it later for maps and proximity search.
0
votes
1answer
236 views

Drupal 7 current user geographical location

I am building a website which on the contact page will have a section to find your local sales representive. I intend to do this by having a content type of sales rep with a location field and ...
0
votes
1answer
24 views

Migrating XML source twice, according to language

I am writing a scheduled import using the Migrate module, where I have an XML feed which gives me a number of reports. These reports have most of their fields in common, but have two fields ...
0
votes
0answers
125 views

Locations updating only after saving a second time

Primary tabs View(active tab) Edit Posted by P013370 on January 3, 2014 at 6:14pm I updated the majority of my node's locations using feeds module. Everything was mapped and updated correctly. ...
0
votes
0answers
20 views

Email users on node creation based on location

I have location module install, which are referenced on both user and node (type: property). When a node (property type) is created, I need to email all users who have same location of node what ...
0
votes
1answer
945 views

How to show a map within a node using gmap and location modules

I'm trying to save a location together with the node of a certain content type and when the node is shown I want the location to show up on a map within the node content. I use the Gmap and Location ...
1
vote
2answers
1k views

How to add a Location field in drupal 7

I have my location module enabled but I cannot see a location field while creating a new form.How can I add location field to a content type.
0
votes
2answers
215 views

How can I print render just location city in teaser view

Drupal 7 I am attempting to print just the city value within the location array. I have created a content type with location and created a custom node template node--content.tpl.php. Inside of my if ...
0
votes
0answers
207 views

Computed field with latitude/longitude

I made node with location field (track) and computed field. I want to measure distance between two points. In computed field is: Computed Code (PHP) : $longitude1= ...