Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Didn't work for me....' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Didn't work for me....
Authored by: rahenkamp on Apr 30, '05 02:21:39PM

I have the code below and it does not work for me either. Keeps going back to mapquest and there is no reference to mapquest anywhere in the rest of the file.

d

// example query

var mapURL = "http://maps.google.com/maps?q=";
mapURL += URLEncode( singleResult.address );
mapURL += ",+";
mapURL += URLEncode( singleResult.city );
mapURL += ",+";
mapURL += URLEncode( singleResult.state );
mapURL += "+";
mapURL += URLEncode( singleResult.zip );



[ Reply to This | # ]
Didn't work for me....
Authored by: ateles on Apr 30, '05 09:12:43PM

Make sure you have administrative priveleges to change the file...It is in /Library, and therefore outside of your home folder...

If you are familiar with the terminal type:

cd /Library/Widgets
cd cd Phone\ Book.wdgt/
sudo vi Phonebook.js

assuming you know how to use the text editor vi..

J.

---
Eco-programmer by heart



[ Reply to This | # ]
Didn't work for me....
Authored by: alajuela on May 01, '05 01:10:39PM

Yes, I have admin privileges, and actually, the file contains the correct code. No matter what, and I have now tried all three versions of the hint, it keeps going back to that butt-ugly MapQuest.



[ Reply to This | # ]
Didn't work...Address book, not phone book
Authored by: zedwards on May 02, '05 01:26:07PM

I did this too...The app you want to fix is Address book, not Phone book.



[ Reply to This | # ]
Didn't work...Address book, not phone book
Authored by: zedwards on May 02, '05 01:30:25PM

Now I'm really confused.

This IS for the phonebook app, but people are asking about address book. Anyways...disregard.



[ Reply to This | # ]
Didn't work for me....
Authored by: Swanvestas on May 10, '05 11:31:33PM

I'm having the same problem.

Following all the threads to date...I have adminstrative privileges. Swapped the "correct" code (not the same code above it). Tried both versions from the original hint. Also tried the version adding the comma before the + sign. Actually downloaded someone else's posted PhoneBook.js file (with the Google Maps code already built in.) Have confirmed that it's the "PhoneBook.wdgt" file and not the "Address.wdgt" file where the PhoneBook.js file is found. (AddressBook.wdgt does not have any referral code to Mapquest. (Refreshed the widget, even rebooted, cleaned caches, etc.)

After all this I still get the MapQuest site!

Anybody else still stuck as well?



[ Reply to This | # ]
Didn't work for me....
Authored by: jconstant on May 21, '05 05:09:42PM

Duh, I finally figured it out. The problem was me being an idiot.

I changed the phonebook.js file properly - but I was using my Address Book widget to try to look up an address! The widget that this change will appear in is the 'Yellowpages' looking widget, not the Address Book widget. I wish there was a similar way to change which map service the Address Book widget uses.



[ Reply to This | # ]