Events Made Easy › Forums › How do I … › Description placeholder in map balloon not showing
- This topic has 11 replies, 2 voices, and was last updated 13 years, 3 months ago by Franky.
-
AuthorPosts
-
Thu 11 Aug 2011 at 20:12 #43402AnonymousInactive
I’ve been using the EME plugin now for almost a year and have never had a problem displaying a location’s #_DESCRIPTION in the map balloon–until now. Now I have an empty balloon. I didn’t change anything (that I’m aware of), so I’m at a loss as to what’s happened. If I put other placeholders in the “Default location balloon format” box, they display just fine. Of course, I’ve formatted the description field specifically to include other info like website links, phone, etc. and prefer that info to show. I’m up-to-date and I’m not sure what other info about my setup may be helpful to know. Any help would be appreciated.
Thu 11 Aug 2011 at 22:23 #48265FrankyKeymasterWhat’s the link?
Fri 12 Aug 2011 at 01:37 #48266AnonymousInactiveakronago.org
Fri 12 Aug 2011 at 06:41 #48267FrankyKeymasterThe description is there, but it seems there are a *lot* of single quotes in there that probably mess things up. This is what I see in firebug:
<div class="eme-location-balloon" id="eme-location-balloon-96_1313131003_34"><a ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''http:="" href=""></a></div>
(I needed to remove lots of quotes or I couldn’t show it here). See your html source.
It might be that some code is to blame here: it seems that single quotes are being escaped (which they should anyway) but there are waaaaaaaaay too many of them.
Fri 12 Aug 2011 at 12:13 #48268AnonymousInactiveWell, believe it or not, those quotes have always been there–since I installed the plugin. I remember thinking how odd it was. Figured it had something to do with getting the text in the right place in the balloon so I never wanted to mess with it. I’ve taken them all out, including a which was in the midst of all those quotes (many quotes preceded the # and followed the letters URL), leaving me now with just #_DESCRIPTION, but still the balloon is empty.
Fri 12 Aug 2011 at 12:16 #48269AnonymousInactiveAfter the words “including a” in my last post there should have been
<a href="#_LOCATIONPAGEURL"> </a>
Fri 12 Aug 2011 at 12:17 #48270FrankyKeymasterI don’t know what you did, but now there’s no text in it at all 🙂
Fri 12 Aug 2011 at 12:19 #48271AnonymousInactiveO.k. upon posting it stripped out what I typed yet again, but it was a link with #_LOCATIONPAGEURL in it.
Fri 12 Aug 2011 at 12:34 #48272FrankyKeymasterI corrected your post, but I don’t see text in it, so how can you ever click on a url if there’s no text?
Fri 12 Aug 2011 at 12:35 #48273FrankyKeymasterThis is the default balloon setting:
<strong>#_NAME</strong><br />#_ADDRESS - #_TOWN <br /> <a href='#_LOCATIONPAGEURL'>Details</a>
Fri 12 Aug 2011 at 16:52 #48274AnonymousInactiveThanks for the default setting. I’ve gone ahead and put that in for now so that something shows in the balloon. Of course, I’m still at a loss why the #_DESCRIPTION placeholder doesn’t work. I have descriptions for all my locations, and like I said before, they have always appeared in the balloon just fine until recently. (Does that placeholder work for you?) Regardless, I appreciate all your help and what really is a very useful, excellent plugin.
Fri 12 Aug 2011 at 18:19 #48275FrankyKeymasterI tried #_DESCRIPTION and it works just fine in the balloon.
-
AuthorPosts
- The forum ‘How do I …’ is closed to new topics and replies.