1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2012
    Rep Power

    Question Send to phone link on web page that displays sales territory map

    I've been asked to add a page to our website that displays a map of the US with color coded sales territories. Will have a legend on the side of the sales person name with a Send to Phone link. Would like the user to click on that link then a windows comes up to input their cell number and click Send. This will send them a text message with a link. That link pulls up the sales contact number on their phone and they press it to call. There's an example on the FYE dot com website Store Locator. Can't paste the link here.

    Don't expect anyone to paste the code here but any info, keywords or ideas on which direction to go would be appreciated. This is on a Linux server and hopefully this could be done with html, js, php or html5. Would like it to work in ie8 also but that will rule out html5.
  2. #2
  3. No Profile Picture
    Lost in code
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 2004
    Rep Power
    You can use Google Maps for the map.

    Sending a text message to an arbitrary mobile number generally requires you to subscribe to a paid SMS gateway API provider. Most mobile network operators provide a free E-Mail to SMS gateway, but you have to know which provider the cell phone number belongs to, which you can't determine from examining the number alone so you would have to ask the user.

    Most phones will parse phone numbers out of text messages and make them click-able. If the phone doesn't, there is nothing you can do about it (you can't put HTML in a text message).

    Originally Posted by Spad
    Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around

IMN logo majestic logo threadwatch logo seochat tools logo