Events Made Easy Forums Bug fixed or feature request implemented Template Tag dbem_get_events_list display attribute broken

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #42067
    Anonymous
    Inactive

    I just installed EME, but I needed to return the value of the dbem_get_events_list tag, not display it. In the documentation it says to use “display=false” however this did not work. I looked into the code and the code uses “echo” so I tried playing with the template tag using “echo=false” however this did not work either. Looking at the dbem_events.php file I found that the if statement at the end of the dbem_get_events_list function was not working, I was able to replace it with:

    if ($echo)

    {echo $output;}

    else

    {return $output;}

    and now it seems to work. If you use echo=1, it will display – this is the default, if you use echo=0 it will return the values.

    #44620
    Franky
    Keymaster

    Thanks, I adapted the documentation for this.

    But are you saying that just adding the “{” and “}” solved this for you?

    #44621
    Franky
    Keymaster

    no response, so closing

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