• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Events Today

Events Today 14 years 10 months ago #7703

Hi,

I want to display a list of events that are happening today, rather than between fixed dates.
Is there any way in the upcomingevents module to make the display date a variable 'today' rather than manually changing it?

Thanks
The administrator has disabled public write access.

Re:Events Today 14 years 10 months ago #7728

Please can anyone help me on this? I really need to be able to do this to save me having to manually change the display date on each of my modules everyb day!

If necessary I would consider an additional donation on top of the license fee I have already paid.

Thanks
The administrator has disabled public write access.

Re:Events Today 14 years 10 months ago #7729

  • bogdan
  • bogdan's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 122
  • Thank you received: 4
Hello ,

Here i will let you know how to change the upcoming events module to show only the events from today :

go to /modules/mod_rsevents_upcoming/helper.php

at line 29 please enter :
$today = strtotime(date('m/d/Y',time()));

after delete line 44 and 45 and paste in this code :
$where .= " AND (e.EventStartDate < ".$today." AND e.EventEndDate > ".$today.") OR (e.EventStartDate >= ".$today." AND e.EventStartDate <= ".($today+86399).")";

Now , you will see all the today events that run by this rules :
- events started in the past(earlier than yesterday 23:59) and haven't finished till today 00:00
- events started today 00:00 to 23:59
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here

RSJoomla! Development Team
Last Edit: 14 years 10 months ago by bogdan.
The administrator has disabled public write access.

Re:Events Today - SOLVED 14 years 10 months ago #7731

bogdan - THANK YOU!

That worked perfectly - your help is very much appreciated.

Jammin
Last Edit: 14 years 10 months ago by bogdan.
The administrator has disabled public write access.

Re: Events Today 12 years 1 month ago #16624

Ben or Dan,

Is there anyway to set the default sort order so the next event happening is listed first, rather then the furthest ?
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!