Page 2 of 2

Re: Calendar module

Posted: Thu Mar 12, 2009 3:55 pm
by Charmie
Hi

I have just installed both the CGCalendar 1.0 and the CGExtensions 1.15.2 modules.
i have managed to add an event to the calendar and got it to display correctly on my page.

The problem I am having is that when I click onthe title link of the event it goes to the event page correctly.
Yet if I click on the date link, the following error is displayed:

string(138) "Smarty error: [in module_db_tpl:CGCalendar;list_Sample line 5]: syntax error: mismatched tag {/if}. (Smarty_Compiler.class.php, line 2300)" string(153) "Smarty error: [in module_db_tpl:CGCalendar;list_Sample line 35]: syntax error: unclosed tag \{if} (opened line 34). (Smarty_Compiler.class.php, line 317)"

Here is a link to calendar page of my site:
http://www.christchurchnorthfinchley.co ... e-calendar

As you can see this is a very new installation and I am still in the process of setting up the site.

The details of my system are:
PHP  5.2 and MySQL to 5.0.

Charmie

Re: Calendar module

Posted: Thu Mar 12, 2009 11:12 pm
by aSa
Hello
Same problem for me with a fresh install when I try
{cms_module module='CGCalendar' display='list'}

Here is a quick fix.

Go to :  Content > Calguys Calendar > List templates
and open the "sample" template

Cut the {/if} on line 5
and paste it at the end of the template just before the last

it looks like this module is still in testing phase, I get also some "--Add Me - module:CGCalendar string:more--" errors with the french language

Anyway I tip my hat to the CMSMS team, it's a great product  :)

Re: Calendar module

Posted: Fri Mar 13, 2009 5:10 pm
by Rolf
@ aSa

Did you find the errors you mentioned in the default templates of the CGCalendar?
If soo, please make a bugreport on http://dev.cmsmadesimple.org/bug/list/623
Calguy can repair these bugs in the next release. It helps to improve this module and CMSMS  ;D

Thanks, Rolf  :D

Re: Calendar module

Posted: Sat Mar 14, 2009 11:19 am
by aSa
Rolf wrote: please make a bugreport
Done  :)
http://dev.cmsmadesimple.org/bug/view/3164

Re: Calendar module

Posted: Mon Mar 16, 2009 6:54 am
by Rolf
Cool aSa,

Thanks, Rolf  :D