Events Made Easy Forums Bug fixed or feature request implemented #_LOCATIONPAGEURL stopped working

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #44206
    Anonymous
    Inactive

    Hi, I use the code below in my single event template. It worked without issue until updating this morning to Version 1.3.0. Now when I check the code the location name rather than the url is being used for the link so the link just reloads the same page.

    [events_if tag='#ESC_LOCATIONNAME'] <strong>Location:</strong> <a href="#_LOCATIONPAGEURL">#_LOCATIONNAME</a> [/events_if]

    Creates following link:

    <sstrong>Location:</strong> <a href="The Corn Exchange Gallery">The Corn Exchange Gallery</a>

    #51446
    Franky
    Keymaster

    Confirmed.

    Fix: in eme_locations.php, change line 1233 from

    } elseif (preg_match('/#_(NAME|LOCATIONNAME|LOCATION)/', $result)) {

    to

    } elseif (preg_match('/#_(NAME|LOCATIONNAME|LOCATION)$/', $result)) {

    #51447
    Anonymous
    Inactive

    Sorted! Thank you

    #51448
    Franky
    Keymaster

    fixed in trunk

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.
Scroll to Top