PHP-GTK2 Cookbook Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Tilde (~) not causing Line Breaks (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Tilde (~) not causing Line Breaks


#5262
kerrianne42 (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Tilde (~) not causing Line Breaks 1 Year, 1 Month ago Karma: 0  
Hi :)

I've installed GoogleDirections-ToHere on my Joomla 2.5 site. Everything works like a charm except getting a line break in the Home_Label.

I tried using an HTML br/ tag, but that didn't work. Then I read the directions (heh) and tried the tilde ~, but that also didn't work. :(

Any ideas? Suggestions? Have I read the wrong directions and am still using the wrong character(s) to create a line break?

Thank you for any help,
~kerrianne42
 
  The administrator has disabled public write access.

#5265
kksou (Admin)
Admin
Posts: 1680
graph
User Online Now Click here to see the profile of this user
Re:Tilde (~) not causing Line Breaks 1 Year, 1 Month ago Karma: 27  
Hi,

Please refer to the article: googleDirections - To Here - plugin Tutorial 02: Adding Label to Home Address

I have a sample tag there to show the use of ~

Please try the sample tag on your server to see if it works on your site. If yes, you might want to compare the difference between your tags and my tags.

If you cannot figure where the problem is, please email me the complete tags that you've used. I'll test it on my end.

Regards,
/kksou
 
  The administrator has disabled public write access.

#5275
kerrianne42 (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Tilde (~) not causing Line Breaks 1 Year, 1 Month ago Karma: 0  
Neither the sample tag nor mine will produce a return in the Home label, tested in Chrome & Firefox.

googleDir_tohere width=300 height=360 home_lat=27.961125, home_long=-82.774865 home_label="Asia Express~1506 Gulf-to-Bay Blvd.~Clearwater, FL 33755" vertical=1 maptype=hybrid

googleDir_tohere width=320 height=360 dir_width=275 home_addr="1600 Amphitheatre Parkway, Mountain View CA 94043" home_label="Google Inc.~1600 Amphitheatre Parkway~Mountain View, CA 94043"
 
  The administrator has disabled public write access.
#5280
kksou (Admin)
Admin
Posts: 1680
graph
User Online Now Click here to see the profile of this user
Re:Tilde (~) not causing Line Breaks 1 Year, 1 Month ago Karma: 27  
Hi,

I've set up a test page here using the two tags you've given above: test of googleMaps 1205003

As you can see both works ok.

By the way, can you let me know which versions of the googleMaps, googleDir and GoogleDir_tohere are you using?

You need the latest version for all 3 plugins for the above to work.

Regards,
/kksou

p.s. by the way, the ~ works only when you click on the marker. It does not work when you "hover" over the marker. This is because the Google API doesn't support any HTML such as <br> in the label when you hover over it.
 
 
Last Edit: 2012/05/04 00:57 By kksou.
  The administrator has disabled public write access.
#5281
kerrianne42 (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Tilde (~) not causing Line Breaks 1 Year, 1 Month ago Karma: 0  
OH!!

I have to CLICK.

I didn't know that. I guess it does work.

Thank you.
 
  The administrator has disabled public write access.



Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Blog - Forum - Privacy Policy - Contact Us
Links - Classes - Social Business - BPM - Web - General
Copyright © 2006-2013. kksou.com. All Rights Reserved