Results 1 to 2 of 2

Thread: Saving longitude and latitude values.

  1. #1
    Thread Starter
    johnster's Avatar
    Join Date
    Jul 2010
    Location
    United Kingdom
    Posts
    24
    Thanks
    10
    Thanked 0 Times in 0 Posts

    Saving longitude and latitude values.

    Hey guys,

    I hope someone can help me on this. I want to do two things.

    1. Store longitude and latitude values in the DB.
    2. Modify search results page to show how many miles the item is from their post code.

    For 1st request: I guess I can create a custom fields and it will probably store in Wp_PostMeta ? but where and how do i change the code to save the L&L values when it available for the first time? i.e when someone views the item, it get those values from google API and I want to store that ?

    2. Where should I look to add another column (miles) in the search results?

    Btw, I found a code to work out the distances here - http://aciddrop.com/2007/12/17/quick...odezip-finder/

    Thanks guys!

    J

  2. #2
    Thread Starter
    johnster's Avatar
    Join Date
    Jul 2010
    Location
    United Kingdom
    Posts
    24
    Thanks
    10
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. custom field values
    By dubya in forum Help Using ClassiPress
    Replies: 3
    Last Post: August 6th, 2010, 03:33 PM
  2. Saving multiple checkboxes output as Array
    By vienna in forum ClassiPress General Discussion
    Replies: 0
    Last Post: July 16th, 2010, 11:06 AM
  3. Saving Customized Theme for multiple uploads
    By joshthomas80 in forum ClassiPress General Discussion
    Replies: 6
    Last Post: July 13th, 2009, 03:24 PM