Events Manager Support » Bugs

#_DESCRIPTION doesn't populate, #_MAP is just blue with a push pin and the name.

(16 posts)
  1. greenman
    Member

    Below is my default single event format.
    The term #_DESCRIPTION says just that: #_DESCRIPTION.
    Other array variables work.
    I need to make the text from the 'details' textarea box of the form show up so I can describe the event.

    Also the map is briefly green, then blue with a pushpin and the place name, but nothing else. "header.php" is correctly managed in the theme.

    What am I doing wrong?

    <h2>#_LOCATION</h2>
    #_ADDRESS<br />
    #_TOWN</p>
    <p><strong>Date:</strong> #F #j, #Y<br />
    <strong>Time:</strong> #g:#i #a<br />
    <strong>Contact:</strong> #_CONTACTNAME<br />
    <p><strong>Details:</strong><br />
    #_DESCRIPTION</p>
    <p>#_MAP</p>
    Posted 1 year ago #
  2. greenman
    Member

    So this is an example event from my site:
    http://www.egbathens.org/events/?event_id=6

    I can see now that at the bottom of the map it says "Map Data Europa Technologies", and it makes me wonder if it's attempting to get the map from somewhere in Europe. I'm in the US. Nowhere in the code does it look like it specifies that maps should be based, in Europe, so I'm still in the dark. API Key is correct. Settings are correct.

    Also, this will show how #_DESCRIPTION just stays "#_DESCRIPTION", using the single event format. I'd like it to show the event 'details' from the form I filled out about it, but I'm still clueless about why that's not showing up either.

    Again, I know I may be doing something wrong. Any help is greatly appreciated.

    Posted 1 year ago #
  3. nnofski
    Member

    For Description
    I found that #_NOTES does work for put details in the event.
    Put in "Default single event format"

    Posted 1 year ago #
  4. I'll try this setup and let you know if it's a bug or not. Only, as I said elsewhere, I'll have to delay EM support for a few days, I have a couple of urgent gigs to complete.
    Thanks for your patience,
    Davide

    Posted 1 year ago #
  5. greenman
    Member

    nnofski - thanks - that part worked. Still no joy on the maps though! I'll keep my eye peeled for the feed on this thread.

    Again thanks.

    nutsmuggler - Thanks!

    Posted 1 year ago #
  6. greenman
    Member

    I put the same default info on the location page:

    <h2>#_LOCATION</h2>
    #_ADDRESS<br />
    #_TOWN</p>
    <p><strong>Date:</strong> #F #j, #Y<br />
    <strong>Time:</strong> #g:#i #a<br />
    <strong>Contact:</strong> #_CONTACTNAME<br />
    <p><strong>Details:</strong><br />
    #_DESCRIPTION</p>
    <p>#_MAP</p>

    None of the "#_VARIABLE"s seem to work
    from #_LOCATIONPAGEURL when linked from
    the balloon link in the map on the
    default single event page.
    (Map is also still blue.)

    I hope this helps for debugging.

    Posted 1 year ago #
  7. AceOFJames
    Member

    #_NOTES did in fact work for the description. Did you get a Google Maps API Key? You need it for the map to work in events.

    Check out mine at:

    http://santacruzensembles.com/eventscalendar

    I still want to list all events from one location on a location page but #_NEXTEVENTS, #_PASTEVENTS and #_ALLEVENTS do nto work on a Location page.

    AceOfJames

    Posted 1 year ago #
  8. Aceifjames,
    I added the google Api key and I'm also having the same problem with just a green image showing.
    I took at look at your site though. And it looks great. !!
    I'll go back and take another look at my setup.

    Posted 1 year ago #
  9. The problem is that you created a location before you enabled Google Maps in your settings. As a result, your location is mapping to the middle of an ocean.

    Just go back and edit the location and save it again. The maps will now work!

    Posted 1 year ago #
  10. dplatt
    Member

    Thanks nnofski for the suggestion to use #_NOTES, this worked for putting details in the "Default single event format".

    Posted 11 months ago #
  11. RobertBernstein
    Member

    I would like to include the information I supplied for a location in its #_DESCRIPTION field in the "Default single event format". However, including #_DESCRIPTION there just causes the text "#_DESCRIPTION" to be displayed.

    I know that #_DESCRIPTION was really intended to be displayed on a location page, but is there a way to display it on the event list page?

    Thanks.

    Posted 10 months ago #
  12. svd2srv
    Member

    rscibett: Thanks!

    Posted 8 months ago #
  13. Galaxy
    Member

    rscibett: Thanks from me too! You just saved my skin. Peace

    Posted 8 months ago #
  14. I just resolved a blue screen issue by removing an apostrophe from the location name. Sometimes, when I try to edit a location entry that is malfunctioning because of a non-alphanumeric character, the text fields on the left become automatically entered with a "T". I don't get it? A bug for sure.

    Posted 7 months ago #
  15. czanderna
    Member

    I found a fix for this bug:

    find following line in events-manager.php

    if (preg_match('/#_(ADDRESS|TOWN|PROVINCE)/', $result)) {

    change it to

    if (preg_match('/#_(ADDRESS|TOWN|PROVINCE|DESCRIPTION)/', $result)) {

    then some lines after there is

    if ($field == "event_notes") {

    change it to

    if ($field == "location_description") {

    It works for me.

    Posted 1 month ago #
  16. liedekef
    Member

    This is already included in my version, but it is in fact in the file dbem_locations.php I believe.
    See bottom of http://davidebenini.it/events-manager-forum/topic.php?id=865

    Posted 1 month ago #

RSS feed for this topic

Reply

You must log in to post.