1
demian
Help with extcal 2.22 Upcoming Events Block
  • 2011/5/6 2:32

  • demian

  • Quite a regular

  • Posts: 225

  • Since: 2008/4/29


How do i disable the extcal block upcoming events to display past events ?

right now it shows past event such as new years day, valentines day etc

i don't know if im doing this right...heres what i did

I inserted a new event: New Year Day : 1-1-2011

In the recurring event section i put it recurring yearly January 1st for 5 years

the problem is right now when i activated the extcal upcoming events block...it display the new year day entry 1-1-2011

its the month of may right now supposedly it would not now show the event as it is not upcoming

if i don't insert it as recurring event it will not be display on the block

Help.....Im using extcal 2.22 & xoops 2.5.1

sorry for my english..

2
Mazarin
Re: Help with extcal 2.22 Upcoming Events Block
  • 2011/5/6 10:18

  • Mazarin

  • Just can't stay away

  • Posts: 533

  • Since: 2008/12/10


This is a known bug with recurring events.

3
demian
Re: Help with extcal 2.22 Upcoming Events Block
  • 2011/5/7 0:28

  • demian

  • Quite a regular

  • Posts: 225

  • Since: 2008/4/29


any quick fix?

4
demian
Re: Help with extcal 2.22 Upcoming Events Block
  • 2011/5/8 6:51

  • demian

  • Quite a regular

  • Posts: 225

  • Since: 2008/4/29


Quote:

josespi wrote:
FIX problem in the upcoming events block

File: \modules\extcal\class\event.php
Change line 410
$criteriaNoRecur->add(new Criteria('event_end'$now'>='));


for
$criteriaNoRecur->add(new Criteria('event_start'$now'>='));



and change line 415
$criteriaRecur->add(new Criteria('event_recur_end'$now'>='));


for
$criteriaRecur->add(new Criteria('event_recur_start'$now'>='));



José Espinoza


Thank you josepi..


will upgrade to 2.24 later

https://xoops.org/modules/newbb/viewtopic.php?topic_id=73613&forum=75&post_id=338376#forumpost338376

Login

Who's Online

110 user(s) are online (88 user(s) are browsing Support Forums)


Members: 0


Guests: 110


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Dec 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits