Events Made Easy Forums Bug fixed or feature request implemented #_LOCATION and #_LOCATIONPAGEURL on same single event display kills the pageURL

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #42256
    Anonymous
    Inactive

    My code in Default single event format:

    <h2>#_NAME</h2>
    <p>#_CATEGORIES | #j #M #Y -#_12HSTARTTIME - #_12HENDTIME | #_ICALLINK <--Click Here to to add to your calendar</p>
    <p>#_LOCATION | #_ADDRESS</p>
    <p><a href="#_LOCATIONPAGEURL">Location and/or Room Information</a></p>
    Cost: #_ATT{cost} | Credit Hours: #_ATT{creditHours}
    #_NOTES
    #_ADDBOOKINGFORM
    #_REMOVEBOOKINGFORM
    <p>The Following People Are Registered for this class:</p>
    #_ATTENDEES

    I noticed that you do a preg_match to determine actions for placeholders is that the problem?

    If I remove the #_LOCATION placeholder it the link works fine. If it’s there the link becomes <a href="XXXPAGEURL">blah</a> where XXX is the location name.

    #45468
    Franky
    Keymaster

    This is indeed a bug, and it’s just because NO preg_replace is used that this is a problem 🙂

    I fixed this in trunk, please check out the corrected version here:

    http://plugins.trac.wordpress.org/browser/events-manager-extended/trunk/events-manager.php?rev=317108&format=txt

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