I just switched from using CCK and taxonomies to using location. It's truly a fantastic module!

However, I cannot seem anyway to filter the nodes by a street, postal code, city, country or even telephone nr. from a block or directly on the page where nodes are showing in teaser form. There are several possible alternatives, but it does not seem to be supported. Perhaps I haven't found the right way:

1) filter using taxonomies. Works great with cck, but the location information does not seem to be availible as taxonomoes to filter.

2) Views: Some proximity search has been developed, and I find xxx. However, I would need to set a view as a block and be able to filter on different location variables if needed.

But none of the two options seem to work for me. Any suggestions how to filter on street, postal code, city, country from a block or the page directly?

Comments

anakcerdas’s picture

Hi, I've quite the same problem. I'm using Views and I intend to filter the output by Location:Province Selector.
I'm in Indonesia and I want to only display nodes that has "Jakarta Raya" as the selected province.

In the Views Filter, in Location:Province Selector, if I used operator "=" and "Jakarta Raya" as the selected province, I get this error:

user warning: Unknown column 'location.province_select' in 'where clause' query: SELECT count(node.nid) FROM node node LEFT JOIN location location ON node.vid = location.eid WHERE (node.type IN ('hang_out_places')) AND (location.province_select = 'id-JK') in C:\xampp\htdocs\msm\includes\database.mysql.inc on line 172. 

user warning: Unknown column 'location.province_select' in 'where clause' query: SELECT node.nid FROM node node LEFT JOIN location location ON node.vid = location.eid WHERE (node.type IN ('hang_out_places')) AND (location.province_select = 'id-JK') LIMIT 0, 10 in C:\xampp\htdocs\msm\includes\database.mysql.inc on line 172. 

Any help with this, please? Thank You.

YesCT’s picture

Component: Code » Location_views
Status: Active » Closed (duplicate)