Page 1 of 1

CGCalendar events not showing on website

Posted: Thu Feb 07, 2019 9:13 pm
by jjap
Hi, I'm currently using CGCalendar 2.5.1 and CMSMS 2.9.1

I have plenty of events added in the backend (published) but none of them are showing on the front end (upcoming list and full calendar).

I have already reinstalled CGCalendar and am currently using the default templates.

Navigation between months is working fine and there are no errors in the console, can anyone help me?

Re: CGCalendar events not showing on website

Posted: Fri Feb 08, 2019 1:26 am
by DIGI3
I just did a test on a clean CMSMS 2.2.9.1 and CGCalendar 2.6. It works fine, front end and back. I'd suggest upgrading to the latest CGCalendary, then if it's still an issue you'll need to do some troubleshooting.

Re: CGCalendar events not showing on website

Posted: Fri Mar 22, 2019 12:30 pm
by howey
Hi

I have the same problem.

I've just installed the latest version of CMSMS 2.2.10 and the latest version of CGCalendar 2.6. I have also installed CGExtensions and CGSimpleSmarty.

Code: Select all

system	AdminSearch	1.0.4	Installed	Uninstall	true.gif	Help	About
CGCalendar	2.6	Installed
Depends on: CGExtensions, CGSimpleSmarty	Uninstall	true.gif	Help	About
CGExtensions	1.62.1	Installed
Cannot Uninstall			Help	About
CGSimpleSmarty	2.2.1	Installed
Cannot Uninstall			Help	About
system	CMSContentManager	1.1.7	Installed	Uninstall	true.gif	Help	About
system	CmsJobManager	0.1.3	Installed	Uninstall	true.gif	Help	About
deprecated	CMSMailer		Not installed	Install
Remove		Help	About
system	DesignManager	1.1.6	Installed	Uninstall	true.gif	Help	About
system	FileManager	1.6.8	Installed
Cannot Uninstall			Help	About
system	FilePicker	1.0.4	Installed	Uninstall	true.gif	Help	About
system  deprecated	MenuManager	1.50.3	Installed	Uninstall	true.gif	Help	About
system	MicroTiny	2.2.4	Installed
Depends on: FileManager	Uninstall	true.gif	Help	About
system	ModuleManager	2.1.6	Installed
Cannot Uninstall			Help	About
system	Navigator	1.0.9	Installed	Uninstall	true.gif	Help	About
system	News	2.51.5	Installed	Uninstall	true.gif	Help	About
system	Search	1.51.6	Installed	Uninstall	true.gif	Help	About
I started to set up the template to use Bootstrap, although I have not included the css or js, so its just a very basic render of the page.

Code: Select all

{strip}
	{process_pagedata}
{/strip}<!doctype html>
<__html lang="{cms_get_language}">

<head>
	<title>{title} - {sitename}</title>
	{metadata}
	{cms_stylesheet}
        {cms_jquery}
        {cgjs_render}
</head>

</__body>
<div class="container-fluid">
  <div class="row justify-content-center img-bg">
    <div class="col-sm-10">
       <h1>{title}</h1>
       <div class="row">
           <div class="col-8 col-sm-6 white-bg">
               {content}
           </div>
           <div class="col-4 col-sm-6">
               &nbsp;
           </div>
       </div>
       <div class="row"><div class="col-12 intro-padding">&nbsp;</div></div>
    </div>
  </div>
</div>


<div class="container-fluid">
  <div class="row justify-content-center">
    <div class="col-sm-10">
       <h2>See what's happening</h2>
       {cms_module module="CGCalendar" display="upcominglist"}
    </div>
  </div>
</div>



<__body>

</__html>
System information

Code: Select all

----------------------------------------------

Cms Version: 2.2.10

Installed Modules:

AdminSearch: 1.0.4
CGCalendar: 2.6
CGExtensions: 1.62.1
CGSimpleSmarty: 2.2.1
CMSContentManager: 1.1.7
CmsJobManager: 0.1.3
DesignManager: 1.1.6
FileManager: 1.6.8
FilePicker: 1.0.4
MenuManager: 1.50.3
MicroTiny: 2.2.4
ModuleManager: 2.1.6
Navigator: 1.0.9
News: 2.51.5
Search: 1.51.6

Config Information:

php_memory_limit:
max_upload_size: 32000000
url_rewriting: none
page_extension:
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: Europe/London
permissive_smarty: false

Php Information:

phpversion: 7.2.10
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:
open_basedir:
test_remote_url: Success
file_uploads: On (True)
post_max_size: 16M
upload_max_filesize: 32M
session_save_path: /Applications/MAMP/tmp/php (0777)
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: On (True)
browser_cache_expiry: 60
php_opcache: Off (False)
smarty_cache: Off (False)
smarty_compilecheck: Off (False)
auto_clear_cache_age: On (True)
Server Information:

Server Software: Apache
Server Api: apache2handler
Server Os: Darwin 17.7.0 On x86_64
Server Db Type: MySQL (mysqli)
Server Db Version: 5.7.23
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable

Permission Information:

tmp: /Applications/MAMP/htdocs/amsrc/tmp (0755)
tmp_cache: /Applications/MAMP/htdocs/amsrc/tmp/cache (0755)
templates_c: /Applications/MAMP/htdocs/amsrc/tmp/templates_c (0755)
modules: /Applications/MAMP/htdocs/amsrc/modules (0755)
uploads: /Applications/MAMP/htdocs/amsrc/uploads (0755)
File Creation Mask (umask): /Applications/MAMP/htdocs/amsrc/tmp/cache (0755)
config_file: 0444
----------------------------------------------

 
Copyright © CMS Made Simple™ 2.2.10 “Spuzzum”
I have only one event added but this is set a few days in the future and published.

I've tried leaving everything default and also added upcoming events property, but still the event isn't showing?

Re: CGCalendar events not showing on website

Posted: Fri Mar 22, 2019 2:58 pm
by howey
Hi

I've got the CGCalendar working. I'm trying to work out where I went wrong, but to solve it I did the following:

Made a separate installation of 2.2.9.1
Installed CGCalendar etc

Tested – worked OK

Went back to dev site, over written the page template by cut n pasting the page template from the 2.2.9.1 test site. Everything worked.

I can only assume there was either a fault in my original template or a class with Bootstrap etc.

Once I figure it out I'll be back.