CGCalendar Expired Events Appearing on Upcoming List View

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
WDJames
Forum Members
Forum Members
Posts: 64
Joined: Tue Feb 13, 2018 1:09 pm

CGCalendar Expired Events Appearing on Upcoming List View

Post by WDJames »

Hi all,

I've installed the latest version of CGCalendar to display upcoming events in a list. I've just noticed that events that have a specific end time still appear on the list even though the end time has passed. It seems that they only disappear from the list when the day is over. I've check the server time and can confirm that there is no difference. Has any one else had this issue?
----------------------------------------------

Cms Version: 2.2.4

Installed Modules:

AdminSearch: 1.0.4
CGCalendar: 2.5
CGExtensions: 1.59.1
CGSimpleSmarty: 2.1.7
CMSContentManager: 1.1.6
CMSMailer: 6.2.14
CmsJobManager: 0.1.2
DesignManager: 1.1.4
FileManager: 1.6.5
FilePicker: 1.0.2
FormBuilder: 0.8.1.6
LISE: 1.3.1
LISEHomeSlideshow: 1.3.1
LISETeam: 1.3.1
MenuManager: 1.50.3
MicroTiny: 2.2.2
MleCMS: 2.0-beta1
ModuleManager: 2.1.3
Navigator: 1.0.8
News: 2.51.3
Search: 1.51.2
TinyMCE: 3.2-beta5

Config Information:

php_memory_limit:
max_upload_size: 64000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
auto_alias_content: true
locale: en_US
set_names: true
timezone: Europe/London
permissive_smarty: false

Php Information:

phpversion: 5.6.33
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_ALL: 32767
E_STRICT: 2048
E_DEPRECATED: 8192
test_file_timedifference: No time difference found
test_db_timedifference: No time difference found
create_dir_and_file: 1
memory_limit: 128M
max_execution_time: 60
register_globals: Off (False)
output_buffering: 4096
disable_functions: exec, passthru, shell_exec, system, proc_open, popen, apache_child_terminate, apache_setenv, define_syslog_variables, pcntl_exec, openlog, posix_getpwuid, posix_kill, posix_setpgid, posix_setsid, posix_setuid, posix_setuid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, syslog
open_basedir:
test_remote_url: Success
file_uploads: On (True)
post_max_size: 64M
upload_max_filesize: 64M
session_save_path: /tmp (0700)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
check_ini_set: On (True)
curl: On

Performance Information:

allow_browser_cache: Off (False)
browser_cache_expiry: 60
php_opcache: On (True)
smarty_cache: Off (False)
smarty_compilecheck: Off (False)
auto_clear_cache_age: On (True)
Server Information:

Server Software: Apache
Server Api: cgi-fcgi
Server Os: Linux 3.10.0-714.10.2.lve1.5.9.el7.x86_64 On x86_64
Server Db Type: MySQL (mysqli)
Server Db Version: 5.6.36
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable

Permission Information:

tmp: /home/.../public_html/tmp (0755)
tmp_cache: /home/.../public_html/tmp/cache (0755)
templates_c: /home/.../public_html/tmp/templates_c (0755)
modules: /home/.../public_html/modules (0755)
uploads: /home/.../public_html/uploads (0755)
File Creation Mask (umask): /home/.../public_html/tmp/cache (0755)
config_file: 0444
----------------------------------------------
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Location: Maidenhead, UK
Contact:

Re: CGCalendar Expired Events Appearing on Upcoming List Vie

Post by paulbaker »

WDJames wrote:Has any one else had this issue?
I use CGCalendar on quite a few sites and have never noticed that issue but that's probably because having the events show until the end of the day has never been an issue. Just out of interest what is the context of your site that means it is a problem?

To change this behaviour would probably need a code change so you would need to request it on the forge:
http://dev.cmsmadesimple.org/feature_request/list/623
Actually...I see someone has already requested exactly this option, ID 11536. So to answer your question yes, someone else has had this issue. ;D
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
WDJames
Forum Members
Forum Members
Posts: 64
Joined: Tue Feb 13, 2018 1:09 pm

Re: CGCalendar Expired Events Appearing on Upcoming List Vie

Post by WDJames »

Hi Paul, the site will have multiple events during the day and will be displaying the 4 upcoming on the homepage so having an expired event just takes up space that could be used by actual upcoming events.

We've been using CMSMS and CGCalendar for a while and have noticed that on one of our older CMSMS sites (1.12.2) which uses an older version of the CGCalendar (1.14.3) that the issue does not happen and normal behaviour occurs (events are removed from the list as soon as end time passes). Our guess is that this is a new feature?
Post Reply

Return to “Modules/Add-Ons”