Real-world geographic locations to be associated with Drupal

learn more… | top users | synonyms

0
votes
0answers
7 views

Add a new country to location module in drupal 6

I need to add a new country to location module country list. I do not want to do it by changing in database. I can see there is a hook for the same in D7. <?php function ...
-1
votes
1answer
15 views

Location VS Gmaps for my use case

I'm trying to add a content type that is associated with a physical location. I then want to be able to search for location within a certain proximity of a lat lon point and display that in a view. In ...
0
votes
1answer
19 views

How can I add more than one pointer to a map?

I want to create a block which has search functionality for looking up locations. I want to be able to add a pointer to the map at the searched for location. It should be able to add more than one ...
0
votes
1answer
16 views

How to get rid of Re geocode and delete radio boxes on Location module?

How can I remove the ReGeocode and Delete checkboxes from the Location module? I don't need these functions and there is no settings to delete them. Where is the PHP or html file located so I can ...
1
vote
0answers
13 views

How to use long/lat OR full address in Google Store Locator module?

I wonder if there's a way to use EITHER long/lat OR full address for store content type in the Google Store Locator module. Has anyone done something along those lines?
0
votes
1answer
17 views

Converting iso code to name

How can i convert country iso code to country name while creating a node programatically using node_save? I am creating nodes programatically by fetching contents from secondary database of drupal. ...
1
vote
2answers
48 views

How to display shops near by user

I am creating a website in which I want to show the similar shops near by user location. Like if a user selects Bangalore -> M.G. Road then the similar shops near by M.G. Road should be displayed. ...
0
votes
0answers
16 views

Some google maps not showing

I am using the Gmap and Location module (with Location_cck) to create a google map on my node page. I am readering with the map formatter, and I do see the map on a location in Australia. However, I ...
0
votes
0answers
16 views

Location module adding province to drop down list. Word not available in built-in interface for translation

I'm trying to add some provinces to the drupal location module. When I go to the back-end and manually add the province to the supported provinces list,(sites/all/modules/location/supported/) it ...
0
votes
1answer
37 views

Add Location CCK field and instance programmatically to content type in Drupal 7

How does one add a Location CCK field and instance programmatically to a content type in a Drupal 7 module install? I am mainly concerned with what params need to be given to the field_create_field ...
-2
votes
1answer
38 views

Find current location of logged in user [duplicate]

How can I find out the current location of the logged in user? When a user is logged in I just want to search the current location of user and save the lat and long in the database . How can I do ...
0
votes
0answers
43 views

Problem migrating Drupal 6 location fields to Drupal 7

I am currently writing a migration from Drupal 6 to Drupal 7. I am using the Migrate module (2.7), Drupal-to-Drupal migration module (2.1) and migrate extras (2.5). I have been successful in migrating ...
1
vote
2answers
63 views

country based product price should be changed in commerce kickstart?

I have installed commerce kickstart. I have to add the two prices for single product. If Indian subscribers view the site means product price should display as 2000 INR. If other users ...
0
votes
0answers
32 views

Exclude from display “Re geocode” and “Delete” checkboxes

I would like to totally exclude from rendering "Re geocode" and "Delete" checkboxes of the "Location" module: - I searched for an option in the configuration sections of my installation of Drupal and ...
1
vote
0answers
17 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
30 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
31 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
16 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
48 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
12 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
2answers
91 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
122 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
87 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
125 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
49 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
182 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
13 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 ...
0
votes
1answer
62 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
89 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
69 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
85 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
38 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
16 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
114 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
22 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
42 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
147 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
58 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
55 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
50 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
1answer
387 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
62 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
1answer
124 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
27 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
1answer
191 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
498 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
46 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
714 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
320 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 ...