Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #43359
    Anonymous
    Inactive

    I found an litte issue in “eme_events.php”, realy litte but it youd be foun as an issue from “http://validator.w3.org” if there are no events to show.

    i changed the file eme_events.php to clean it up.

    old line:

    $output = “<ul class=’eme-no-events’>

  • ” . get_option(’eme_no_events_message’ ) . “
  • “;

    changed entry

    $output = “<li class=’eme-no-events’>” . get_option(’eme_no_events_message’ ) . “”;

#48183
Franky
Keymaster

Please use backticks to quote the code, now I can’t read this. And I believe this is no longer an issue, what version are you using?

Edit, my answer from before:

That’s not a line in my code. In the code I have:

$output = "<ul class='eme-no-events'><li>" . get_option('eme_no_events_message' ) . "</li></ul>";

which seems just fine to me.

#48184
Anonymous
Inactive

>our line

>$output = "<ul class='eme-no-events'><li>" . get_option('eme_no_events_message' ) . "</li></ul>";

Yes it’s just fine if you see it as line itself.

But if you use the widget to display the evemts the result is

<ul>

<ul>

<li>

…..

</li>

</ul>

</ul>

because the widget itself seems to include an additiona <ul>.

validator.w3.org means this is not the way it should be.

I use “Events Manager Extended Version 3.3.5” whic is the version i got from Wodpress plugin dir…

my line

$output = "<li class='eme-no-events'>" . get_option('eme_no_events_message' ) . "</li>";

builds

<ul>

<li>

…..

</li>

</ul>

The <ul> ... </ul> comes from the widget.

best regards

#48185
Franky
Keymaster

Ok, now this is something I can work with (you never mentioned it comes from the widget).

#48186
Anonymous
Inactive

Thanks….

I’t was my first post in this forum… Sorry …

#48187
Franky
Keymaster

Ok, fixed in trunk. From the changelog:

the no-events-message needs to be formatted by the user, not in the code using ul/li constructs

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