• Resolved YtW

    (@ytw)


    Hi Franky,

    first of all thanks for this wonderful plugin. I’m working with it for years and it always did what it should… until now.

    There are some websites on which I’m using the function eme_get_events_list to display events in a custom format. That code here worked through the last maybe two years but now it stopped producing any output, there is a blank space between the

      and

    :

    <?php eme_get_events_list('limit=10&category=1,2&format=<li>#d.#m.[eme_if tag="#ESC_{j M Y}" notvalue="#ESC@_{j M Y}"] #@_{ - d.m.}[/eme_if]#Y[eme_if tag="#_IS_ALLDAY" value="1"] [/eme_if][eme_if tag="#_IS_ALLDAY" value="0"], #_STARTTIME [eme_if2 tag="#ESC_STARTTIME" notvalue="#ESC_ENDTIME"] - #_ENDTIME[/eme_if2] Uhr[/eme_if]<br /> <strong>#_EVENTNAME</strong>[eme_if tag="#ESC_ATT{VERANSTALTER}"] (#_ATT{VERANSTALTER}) [/eme_if]<br />#_LOCATIONNAME </li>'); ?>

    I’m running WP 5.0.1 with Classic Editor 1.3 and the newest EME version which is 2.0.74. Thanks for your help.

    Regards, Ralf

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter YtW

    (@ytw)

    Sorry, something went wrong: With “there is a blank space between the and :” I meant:

    there is a blank space between the ul and /ul

    Plugin Author Franky

    (@liedekef)

    Using that in a theme, there is indeed a change (in that by default no echo happens of the list anymore, it was interfering with widgets and other logic).
    Either (using your example), just put an echo/print before your call:
    <?php print eme_get_events_list(“limit=…”); ?>
    or add an extra “echo=1” to the parameter list.
    Btw: is explained in the API doc (half/half) that points to the options of eme_events for all argument possibilities (and there the echo param is mentioned as “do not use”).

    Thread Starter YtW

    (@ytw)

    Hi Franky,

    works like a charm, thanks a lot.

    Bye, Ralf

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘eme_get_events_list produces no output’ is closed to new replies.