RSS

LuxCal Forum

The place for questions, suggestions and news about the LuxCal Event Calendar

User:   Password:   Remember Me?   
LuxCal Forum / LuxCal / Comments and Suggestions / Show upcoming events as well as events from the past?
Posted:  23 Mar 2015 22:35   Last Edited By: Roel B.
It is possible to show upcoming events, but I would like to show past events as well. Can I (and if so: how can I) make a change in lcsbar.php to make that happen? I tried a lot of code to do so, but I can't get it to work.
Posted:  24 Mar 2015 20:59   Last Edited By: Roel B.
Hi there,

This is an easy one wink
In the file lcsbar.php change line 153 (for LuxCal 3.2.3) or line 156 (for LuxCal 4.1.0) from . . .

$sbsTime = time();

to . . .

$sbsTime = time() - (14 * 24 * 60 * 60);

The "14" is the number of days to go back; so to go back 3 weeks, make it 21, etc.

Roel