Support » Plugin: Events Made Easy » #_DETAILS, #_EXCERPT no longer interpreted as a placeholder

  • Resolved Ambyomoron

    (@josiah-s-carberry)


    Using WordPress 5.9.2.
    Following the upgrade to EME ver. 2.2.66 the following placeholders are displayed as literal strings rather than by the data that should be replacing them:
    #_DETAILS
    #_NOTES
    #_EXCERPT

    Before the upgrade, this did not happen.

    The other placeholders I use are still correctly replaced by the underlying data.

    So, #_DETAILS (or #_NOTES) is used in a template as follows (text view):
    <div class="ccc-event-col2">#_DETAILS</div>
    The visitor sees the event displayed with the literal string ‘#_DETAILS’ rather than the details of the event.

    I don’t know if it is relevant, but the style is defined as:

    .ccc-event-col2 {
        float: left;
        padding: 10px;
        text-align: left;
        vertical-align: top;
        line-height: 120%;
        width: 38%;
    }

    #_EXCERPT is used in the eme_events shortcode, in which a format is given that overrides the default event list format. Included is the code:
    <span style="font-size:22px;">#_EXCERPT</span>[eme_if tag='#ESC_CITY']<br />#_CITY[/eme_if]

    Instead of displaying the excerpt followed by the event city (if it is defined), the visitor now sees the literal string:

    #_EXCERPT[eme_if tag='MyTown']
    MyTown[/eme_if]
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Franky

    (@liedekef)

    Thanks for this detailed report, I’ll get right to it.

    Plugin Author Franky

    (@liedekef)

    The template for the event, is that used in the event itself or as a template for eme_events?
    I tried a template for a singele event and #_NOTES, #_DETAILS and #_EXCERPT get replaced fine.

    Plugin Author Franky

    (@liedekef)

    Btw: feel free to contact me via https://www.e-dynamics.be if you want faster assistance, the back and forth here can be time consuming.

    Plugin Author Franky

    (@liedekef)

    Ok, good news: I believe to have located the problem. I’ll release a fix today.

    Thread Starter Ambyomoron

    (@josiah-s-carberry)

    To clarify, I have created a template for see the details of an event. On the event itself, I select that template. There is nothing in the event record to override that template.

    Plugin Author Franky

    (@liedekef)

    Fix released, please try it out 🙂

    Thread Starter Ambyomoron

    (@josiah-s-carberry)

    Yes, that release fixed it.
    Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘#_DETAILS, #_EXCERPT no longer interpreted as a placeholder’ is closed to new replies.