Re: Sorting nodes

Warren Vail <[email protected]>
Newsgroups gmane.comp.php.drupal.support
Organization Vail Systems Technology
Message-ID <[email protected]>
 

Registered users are not a problem, since you can have them supply info
to derive the lat/long of their location, for non registered visitors I
would look for a module supporting IP/locations, and then a module to
calculate distance between two locations (I seem to recall one), sorting
with a view on the distance between locations. 

Good Luck, Warren 

On 2014-07-08 10:00, Drupal wrote: 

> Hi to all, 
> Here http://iowalincolnhighway.org/Attractions [1] you can see that the Attractions page is a just basic page, with some listed attractions. 
> Now I have to create new content type, with attraction name, description, image, address, county, google map and/or long/lat coordinates. 
> I know how to create new content type. I just wonder how to sort the nodes? Ideally, it would be sorting by long/lat coordinates from east to west but I'm assuming it's hard? The most easiest and the fastest way would be by adding "order" field (integer) and manually sort it by the order. Though, it could be PITA to reorder once I have almost hundred nodes… :( 
> 
> Any suggestions? 
> 
> Thanks

-- 

 

Links:
------
[1] http://iowalincolnhighway.org/Attractions

-- 
[ Drupal support list | http://lists.drupal.org/ ]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.