Hi, I am trying to create a block in views to display related nodes that are in close proximity of the selected node (each node has a location entered by the user, the function is provided by the location module). After trying for several hours, it seems to me that I can only compare the selected node with a predefined coordinates. However, what I wanted is that the reference location actually changes in respond to the selected node.
For example, if I am viewing a post with the location in Canada, the block should show all other posts that have the location as Canada.
I am wondering if someone here tried to solve the same problem before. if so, please share your insight.
Thanks a lot
Comments
Comment #1
yesct commentedtry an issue search in this location issue queue for the tag:
location proximity view to author of node
or
location proximity view
or
location view arguments
You might be able to use a patch to match the country field, that might be easier to get than the proximity view...
Maybe someone else can post too to answer. But I wanted to point you a bit in a direction.
Comment #2
sklausing commented"I am trying to create a block in views to display related nodes that are in close proximity of the selected node (each node has a location entered by the user, the function is provided by the location module)."
Exactly the same I want to create and I couldn´t find a solution. Did you solve the problem? I couldn't find a way to use the long/lat from selected node as an argument for the view.
I want to create a view:"show a list of related nodes around: selectable filter (50km ; 100km; 200km; 500km)"
Comment #3
jorge commentedSubscribe...this seems like a no-brainer feature that is really hard to figure out right now. Any solutions?
Comment #4
wilgrace commentedI'm also after exactly this functionality - haven't been able to find it anywhere. You find a solution?
Comment #5
henno.gous commentedprecisely what I want to do too... any solutions?
Comment #6
scalp commentedAlso looking for a solution to this
Comment #7
ankur commentedI believe this is now possible w/ #606342: Views Argument Handler for Proximity if not possible otherwise.