This is my very FIRST create issue in the almost year that I have been using Drupal 7. I've been able to figure most things out by myself. I hope I don't make a fool of myself.

OK.....

The big issue is that I think that MSNF won't pass the coordinates fields on the Get Location module to my database. I need this because the coordinates generate a map on the content node view(s), called "Businesses" that a user can see the location of the venue. Looks good for style reasons. The error generated is...

Notice: Undefined index: #type in _msnf_hide_fields() (line 1247 of ******/sites/all/modules/msnf/msnf.module). It generates 2 errors according to Recent log messages.

Previously, before adding MSNF (and while experimenting with Field Group Horizontal Tabs) the data would pass and a map would be generated. I chose MSNF because of the "Next" button, which Horizontal Tabs doesn't generate (at least without a bunch of JScript).

How can I make MSNF work with Geo Location? I'm guessing it has something to do with making MSNF knowing what those Geo Location coordinates fields are, but I just don't how.

Comments

tory-w created an issue. See original summary.

stBorchert’s picture

Version: 7.x-1.5 » 7.x-1.x-dev
Assigned: tory-w » Unassigned
Status: Active » Postponed (maintainer needs more info)
Issue tags: -geolocation, -getlocation coordinates, -map generations

Hey.
Could you try to use the latest development version of MSNF? There are some fixes included that might fix your problem, too.
Additionally please list the modules you've used and post some information about the settings you've made, so I am able to reproduce the problem.

Thanks,

Stefan

tory-w’s picture

I figured it out and the issue is resolved. It was a combination of how I was using MSNF, views, Geocode, Get Location, and how I was hiding fields. Long story short, your module works perfectly for me!

I'm using a heavily modified template that came built with Geocode and it makes a nice map of Content (business locations). However, I also wanted the function of when a user adds a business, they can look it up by name and the address field will auto populate. Get Location comes with that function. Because of the map being built into the template, I hid the field on the form and in Views I over-rode the Geocode with Get Location map, which worked until I added MSNF. Because of how MSNF processed the hidden field, it showed as "over-ridden" in Views and my map disappeared.

What I did is got rid of the hidden Geocode map, renamed my Get Location field the same thing, and added it back to the form. I didn't even have to do any CSS theming to get it to work.

So, I guess if you're going to hide field using MSNF, make sure you REALLY want them hidden.

stBorchert’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)