Events Made Easy › Forums › Bug fixed or feature request implemented › Upcoming Events format issue
- This topic has 13 replies, 3 voices, and was last updated 10 years, 10 months ago by Franky.
-
AuthorPosts
-
Wed 15 Jan 2014 at 16:08 #44131AnonymousInactive
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!
Wed 15 Jan 2014 at 17:39 #51067FrankyKeymasterWhat are the format settings in that widget? And is that format in the first lines used or defined somewhere else?
Wed 15 Jan 2014 at 19:47 #51068AnonymousInactiveThis 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):
- #_LINKEDNAME
- #l, #F #j, #Y
- #g:#i #A to #@g:#@i #A
List item format:
List footer format
(if empty
is used):
Wed 15 Jan 2014 at 20:27 #51069FrankyKeymasterJust 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.
Wed 15 Jan 2014 at 20:41 #51070AnonymousInactiveNot sure, but I’ll keep looking and post if I finally come across a solution. ~Thanks!
Wed 15 Jan 2014 at 21:00 #51071AnonymousInactiveAh 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. 🙂
Wed 15 Jan 2014 at 22:09 #51072AnonymousInactiveI 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
Wed 15 Jan 2014 at 22:43 #51073FrankyKeymasterNo that’s not as it should be. This should fix it (I’ll release 1.2.3 for this):
Thu 16 Jan 2014 at 00:26 #51074AnonymousInactiveHi – 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}
Thu 16 Jan 2014 at 08:56 #51075FrankyKeymasterArghh … I’ll try again. I was sure I got it.
Thu 16 Jan 2014 at 10:28 #51076FrankyKeymasterOk, 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'];
}Thu 16 Jan 2014 at 11:26 #51077AnonymousInactiveYup that looks good. Many Thanks
Thu 30 Jan 2014 at 19:20 #51078AnonymousInactiveOk, 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.
Thu 30 Jan 2014 at 19:31 #51079FrankyKeymasterCan you tell me the settings for that recurrent event? Event begin and end date, recurrence begin and end date?
-
AuthorPosts
- The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.