Home › Forums › Calendar Products › Events Calendar PRO › Display today's events
- This topic has 7 replies, 4 voices, and was last updated 14 years, 5 months ago by
moif.
-
AuthorPosts
-
October 17, 2011 at 1:38 am #9786
moif
ParticipantMorning,
Is it possible to show only the days events when a visitor looks at the Event List? I’m presuming some editing of php files is required, and if so would this be list.php?Thanks!
October 17, 2011 at 2:08 am #9787moif
ParticipantIt would appear this is called ‘Single Day View’? I’ve not come across where to enable this yet.
October 18, 2011 at 9:43 am #9830John
MemberYou should be able to click on the actual date from the grid view.
October 18, 2011 at 1:37 pm #9855moif
ParticipantHi John,
I can indeed but I was wondering if there’s any amendments I can make to the list.php that will only show the days events when a visitor comes to the site as opposed to the current day and all future events.
Exactly how it’s displayed when clicking on the day via the grid view.
October 18, 2011 at 7:12 pm #9865Shane Pearlman
MemberMoif – just in case there is any confusion – john is saying that single day view exists and is accessible by clicking on the # on the date in the calendar view.
Alternatively you can use use the date in the url for example: http://yoursite.com/events/2011-10-25/. You could create some kind of smart link using the php date function, something like: date(“Y-m-d”)
October 19, 2011 at 1:46 am #9881moif
ParticipantPerhaps I’ve misunderstood the ‘Single Day View’.
I am aware there are two views available in the admin page; Calendar and Event List. In Calendar list it’s just that, it will display a calendar and the Event List will list all of the events.
It’s the event list view I am focusing on. Currently it appears that it lists all events from today’s date AND all future events and I am wanting to have it display just the events from today. Tomorrow I’ll visit the page and I’ll just get tomorrows events. So on and so forth.
As an example here is our current schedule: http://www.brap.fm/schedule-3/ and it displays just today and today only. I don’t need to click on a calendar, it’s the default view.
With ECP this is the current view – Event List: http://www.brap.fm/events/ and we can see it’s listing todays AND tomorrows AND any event in the future.
My aim is to have ECP display just today and to remove the previous and next events links at the bottom and the ical button. That bit I can do by editing list.php but it’s the actual default day display I need help with.
October 19, 2011 at 3:56 pm #9904Rob
MemberHi Moif. I believe I sent you an email on this earlier today, but just to follow-up….you are correct regarding how the event list operates. It shows today’s events and as many in the future as it can while still conforming to your post limit per page.
Out of the box, single day view just displays all the events on a given day from within the calendar…there’s no standard link for single event view that changes every day to just display that day’s events. However you could likely hack something along those lines together.
Hope that helps! Please let me know if this is confusing or if you have any other questions.
October 20, 2011 at 1:50 am #9928moif
ParticipantGotchya,
So the number of blog posts in Settings > Reading determines the number of events displayed.
That’s fine for now as we only have 3 events a day and that’s pretty uniform. I’ll have to take a further look though because if I want to have more going on from a day to day basis then this will become something of a deal breaker.
Thanks!
-
AuthorPosts
- The topic ‘Display today's events’ is closed to new replies.
