I am building a site where people can log power failures in their area on a google map in Drupal 7.
I want to be able to have my site users register their location on their profile. This seems pretty straightforward to do using the Profile 2 and Location modules, however it's the next step that I'm hung up on.
I want the user to be able to click an "add a power failure" button, fill in the details of the failure (time, date etc) and hit save. Once this is done, I want to be able to plot a point on the map (using views or whatever) with the location details they entered in their profile when they signed up.
I've been trying to play with User reference and node reference in the power failure content type, but this doesn't really give me what I want.
Does anybody have any ideas on how I can accomplish this?
Thanks!
G