How to only show events from that day ?

Home Forums Calendar Products Events Calendar PRO How to only show events from that day ?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #25215
    Michael
    Member

    Hi,

    At the moment I have lot’s of events which start at say 8 in the evening and finish at 2 in the morning the next day. On the event calendar settings I set the multi day cutoff to 4:00am so on the calendar events aren’t displayed more than once, which works fine.

    However I noticed that when clicking on the event day (at the top of each box in the calendar) is takes you to events/2012-09-07/ (for example) however it shows both the events from the previous day extending into the new day as well as the events that start later that day in the evening.

    My question is, how can I make it so if I click on the 19th of September (for example) on my calendar, it will only show events starting that day, rather than also having the events from the 18th extending into the 19th as well?

    Cheers

    Michael

    You can see this issue happening if you go on http://www.nightlifenation.co.uk and click on tonight on the homepage.

    #25416
    Leah
    Member

    Hey Michael,

    Sorry for the delayed response. We’ll take a good look at your issue in the next 24 hours and get you a substantive response as soon as possible.

    Thanks for your patience,
    Leah

    #25556
    Barry
    Member

    Hey there Michael. This is a slight hack – if I think of a cleaner way I’ll get back to you – but for the time being this could form a working solution.

    First of all, open up your custom list.php template. Find the following lines (this is the first bit of “the loop”) http://pastebin.com/xF42BhVi and try inserting a new line in between them, like this:

    http://pastebin.com/srq1wk2Q

    I ran a quick test and it appears to do the job – however you are probably better placed to test it out as you will no doubt have a greater range of relevant event data to test against 🙂

    Cheers,

    Barry

    #25565
    Michael
    Member

    I can confirm that this does indeed do the trick, thank you very much Barry

    #25568
    Barry
    Member

    Good stuff. If you’re happy we’ll close this one off and if you have any further problems please don’t hesitate to open up a new thread 🙂

    #977822
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘How to only show events from that day ?’ is closed to new replies.