Page 1 of 1

[SOLVED] Calendar not linking right in yearlist

Posted: Mon Jan 17, 2011 6:19 pm
by mvang
Hi there.

I have a problem with the Calendar module.
I use {cms_module module="Calendar" display="yearlist"} to call a list of events for the year.

So far so good, but when i try to click the links Prev and next. it does not change year, and i have no clue about what could be wrong.

http://midtjyskgreyhoundstadion.dk/inde ... bskalender

Anyone have any idea about what could be wrong? and how to solve it?

thansk in advance
Mads Vang

Re: Calendar not linking right in yearlist

Posted: Fri Jan 21, 2011 5:00 am
by Kiwee
just discovered i have the same issue
stays in the current year (2011) when i click prev or next link

Re: [SOLVED] Calendar not linking right in yearlist

Posted: Mon Jan 31, 2011 7:49 pm
by Nettie
I can see you got it working on your site - how did you get it working?

Re: [SOLVED] Calendar not linking right in yearlist

Posted: Mon Jan 31, 2011 8:05 pm
by Kiwee
Nettie wrote:I can see you got it working on your site - how did you get it working?
interesting
the answer was here, its now gone!
and i cant remember what it was. have to go out, but ill have a look later today

Re: [SOLVED] Calendar not linking right in yearlist

Posted: Tue Feb 01, 2011 12:53 am
by Kiwee
hmm, thought i posted my fix before i left this morning
anyway, its not the original fix, but it worked for me

go to modules-cgcalendar folder, open up function.displayyearlist.php
scroll to near the bottom (about line 223) to find the code as below

removed by administrator


as i had an old version of cmsms and calendar that was working, i found the similar code and pasted it into the new cgcalender version and it seems to work for me. hopefully for others until its fixed

so replace with the code below

removed by administrator