Events Made Easy Forums Bug fixed or feature request implemented Upcoming Events format issue

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #44131
    Anonymous
    Inactive

    I just installed the update and now my sidebar with the Upcoming Events has html code in the first space.

    Upcoming Events

    #l #F #j #Y – #g:#i #A to #@g:#@i #A #_EVENTPRICE

    #_LINKEDNAME

    #_RECURRENCEDESC

    Sit and Sew

    Friday, January 17, 2014

    12:00 PM to 4:00 PM

    Quilting 101

    Saturday, January 18, 2014

    9:00 AM to 12:00 AM

    Quilting 102

    Saturday, January 18, 2014

    1:00 PM to 4:00 PM

    “First Ladies” Block of the Week

    Sunday, January 19, 2014

    1:00 PM to 2:00 PM

    Mystery Quilt #2 – Morning Group

    Tuesday, January 21, 2014

    10:00 AM to 11:00 AM

    Any idea where in my settings I need to fix that?

    Thanks!

    #51067
    Franky
    Keymaster

    What are the format settings in that widget? And is that format in the first lines used or defined somewhere else?

    #51068
    Anonymous
    Inactive

    This is what appears on the widget settings:

    Events List: Upcoming Events

    Title: Upcoming Events

    Number of events: 5

    Scope of the events

    (See the doc for [events_list] for all possible values): future

    Show events per period: Daily

    Order of the events: Ascendant

    Show Ongoing Events?: Yes

    List header format

    (if empty

      is used):

      List item format:

    • #_LINKEDNAME
    • #l, #F #j, #Y
    • #g:#i #A to #@g:#@i #A
    • List footer format

      (if empty

    is used):

    #51069
    Franky
    Keymaster

    Just tried it here with those settings: all ok.

    But can it be that the format shown at the beginning:

    #l #F #j #Y - #g:#i #A to #@g:#@i #A #_EVENTPRICE<br> #_LINKEDNAME<br> #_RECURRENCEDESC

    is defined somewhere else (another setting)? Maybe that’s causing problems, but so far I didn’t find that.

    #51070
    Anonymous
    Inactive

    Not sure, but I’ll keep looking and post if I finally come across a solution. ~Thanks!

    #51071
    Anonymous
    Inactive

    Ah ha! It turns out that I had the html code typed into the EME settings under the “Default Event List Format Header.” As soon as I removed it from there it solved the problem. Obviously when I was updating the defaults for creating events I assumed it went into that location as well as the next “Default Event List Format” because I didn’t realize that the header was what linked to the Upcoming Events widget. Good to know! Won’t make that mistake twice. 🙂

    #51072
    Anonymous
    Inactive

    I think this is a new change I also spotted. Previously my widget was only displayed as I defined in my widget code, but now (since the last upgrade) it is picking up the default header in EME settings and the classes there define the css styling so it looks very different.

    I did a quick test and it looks like the widget now has:

    {list Header set in widget}

    (list header set in default)

    format set in widget

    {list footer set in default settings}

    {list footer set in widget}

    Was this intended? I will need to re-work my css to fix this if so

    Thanks

    #51073
    Franky
    Keymaster

    No that’s not as it should be. This should fix it (I’ll release 1.2.3 for this):

    http://plugins.trac.wordpress.org/changeset/839329

    #51074
    Anonymous
    Inactive

    Hi – just upgraded to 1.2.3 and I don’t think this is fixed. Now it looks like

    {list Header set in widget}

    (list header set in default)

    format set in DEFAULT

    {list footer set in default settings}

    {list footer set in widget}

    #51075
    Franky
    Keymaster

    Arghh … I’ll try again. I was sure I got it.

    #51076
    Franky
    Keymaster

    Ok, found it and will release this evening. To fix it now, go into eme_events.php, around line 915 and change the lines:

    if ($template_id) {
    $format_arr = eme_get_template($template_id);
    $format=$format_arr['format'];
    } else {
    $format="";
    }

    to just:

    if ($template_id) {
    $format_arr = eme_get_template($template_id);
    $format=$format_arr['format'];
    }

    #51077
    Anonymous
    Inactive

    Yup that looks good. Many Thanks

    #51078
    Anonymous
    Inactive

    Ok, I got rid of the HTML code, but now I have recurring events showing AFTER they have passed. Example: Recurring class every Tuesday. Past Tuesday (January 28) still showing in Upcoming Events widget even though today is the 30th.

    #51079
    Franky
    Keymaster

    Can you tell me the settings for that recurrent event? Event begin and end date, recurrence begin and end date?

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