Page 1 of 1

Calender module link problem

Posted: Thu Jun 19, 2008 9:58 pm
by NashBridges
hi
i have a problem with the calender module:
when i am following a highlighted date in my calender i'am always getting a blank site... the upcominglist is working fine, but the calender doesn't show me any event details...

please have a look at:

http://www.christian-meurers.com/cmsmadesimple/

the calls for the module are made by:
{cms_module module="Calendar" table_id='small' summaries='0' detailpage="home"  inline=0 }
{cms_module module="Calendar" summaries='0' display='upcominglist' dblisttemplate='list' }

can anyone help me with this problem?
regards
christian

Re: Calender module link problem

Posted: Fri Jun 20, 2008 8:15 pm
by NashBridges
nobody who can help me???

Re: Calender module link problem

Posted: Fri Jun 27, 2008 8:14 pm
by njmeyer
Anyone,

     I am getting the same error, it might have something to do with the new module for the calendar.  The event details were working fine when I was running version 8.1.  But now that I have placed the newer version of the module on a different site it is working differently

Re: Calender module link problem

Posted: Mon Jun 30, 2008 4:00 pm
by hotaru
Looks like you got it working - do you mind sharing what you did? :)

Re: Calender module link problem

Posted: Sun Jul 13, 2008 4:38 pm
by NashBridges
yes sure... but i have not solved the problem itslef, i've just tried to find a solution:

file function.displaycalender.php, line  225

Code: Select all


			for($i = $first_day_of_event_in_this_month; $i <= $last_day_of_event_in_this_month; $i++)
			{
				$days[$i]['events'][] = $row;
			
				
			}

i have added:

Code: Select all


			for($i = $first_day_of_event_in_this_month; $i <= $last_day_of_event_in_this_month; $i++)
			{
				$days[$i]['events'][] = $row;
			//21.06.2007: DEBUG by CHM; LinkFehler bei Kalender(Tageslink)
				$days[$i]['url']=$row['url'];
				
			}

with this modification i overwrite the day-link (eg 20) with the event-link, which works fine. the calender shows me now the event of the day, but it doesn't work, if you have more than one event on that day... it will always show just the last one... for my problem this solution works fine, but as mentioned before, it's no solution for the problem itself...

if anyone has a better solution to this problem please post!!!
thanks
christian

Re: Calender module link problem

Posted: Sun Jul 13, 2008 6:03 pm
by Dr.CSS
You need to specify what ver. of what you are using, it helps those that may try and duplicate the problem trying to come up with a solution for you...

Re: Calender module link problem

Posted: Sun Jul 13, 2008 8:28 pm
by NashBridges
i am using the calendar module version 0.8.1 with cms ms version 1.3 "Cuba"