Welcome to Geeklog, Anonymous Friday, July 01 2022 @ 03:43 pm EDT

Geeklog Forums

How to add past event block


Anonymous

Anonymous
Dear all, I am 1st time to use geeklog. I want to add a past event block which can show the event held before the current date. Any method can do that ? Thanks very very much !!!
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Well, you would need to write a PHP block to do that. The function COM_printUpcomingEvents() in lib-common.php would be a good starting point, I'd say, although it is a bit complicated because of all the permission stuff in that function. Hope that helps. bye, Dirk
 Quote

All times are EDT. The time is now 03:43 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content