Page 1 of 2

calendar display bug

Posted: Mon Feb 20, 2006 12:40 pm
by davidL
I have a problem with the calendar module. I posted it before on general help but got no answer so I’m testing here. I’m becoming desperate as I cant get the display=”list”option to work. Is this a commonly know bug or is it a bug related to my system?

When I call the calendar using the display=”list” option the only thing I get is a heading of the current month, but no events are listed. I get no error message so it seems that the script loops through its database of events but without finding any.

I need help to resolve this. I would like to display a list of all events during one year. Should that be possible?

cmsms v0.11.2 ,calendar v0.7alpha2. Windows 2003 server, IIS6 and php 5.1.1.

Thanks
/David

Re: calendar display bug

Posted: Wed Feb 22, 2006 9:24 am
by davidL
That’s unfortunate. I think the calendar module is very nice and almost as important as the news module. I hope someone else will carry on the development.
Since the upcoming list works I’ve beet looking at maybe modifying the code for this to get the display I want, or to compare it to the code of the “list function” to figure out what’s wrong. Unfortunately php is to much Greek for me at this time.
Could it be easily done to trick the upcoming list function to display all events during one year instead of all the events listed from the current date?
I thought it could be as easy as to figure out where in the code the current date is read and replace it with a predefined date, but I failed that simple task.

/David

Re: calendar display bug

Posted: Thu Feb 23, 2006 9:23 pm
by westis
Hmm, I forgot what issues I had with Calendar. But I don't think I got upcoming list to work the way I wanted either. There are some issues with Calendar still, and unfortunately it looks like Rob is really busy these days. I'm just using display=list for now.

David, I agree that Calendar is one of the most important modules. So hopefully that will get sorted somehow. But my own PHP skills are way to weak to look into that.... :(

Re: calendar display bug

Posted: Thu Feb 23, 2006 10:23 pm
by davidL
Now I’m confused. I have no problem with display="upcominglist". It is the display="list" that I can’t get to work. Are you sure you did not mix em up?
I use the upcoming list to display the next upcoming event in a box of my sidebar. From this box I would also like to have a link "show all events" that should lead to a page that displays all the events during the active year. I'm not even sure the list option is meant to do that but it sounds to me as if it’s supposed to.

Re: calendar display bug

Posted: Thu Feb 23, 2006 10:55 pm
by westis
Yeah, sorry, I got them mixed up. I'm using display=upcominglist, which works fine. But I think I also had issues with display=list, which I'd rather use as that mode displays the events by month. Haven't really used Calendar much, so unfortunately I'm not of much help on this one... :(

Re: calendar display bug

Posted: Tue Feb 28, 2006 3:03 pm
by alby
Patricia wrote: Actually, as Rob (akrabat) is busy, and as he agreed that someone takes up the development on Bookmarks module (namanth is the new dev), I wonder if the same could be done with the Calendar module. Rob would agree for sure.

Any dev with some free time? ;)
SVN Calendar module works fine.
I see that Calendar module have a new dev (katon).

I have a hacked version of Calendar for extract event from News data (I add two field: event_date_start and event_date_end in module_news), but it's very difficult to sync.
Feature Requests for News and Calendar devs:
Is it possible to "merge" the different method for category in News module (hierarchy) and Calendar module (junction table) therefore it's simple to integrate two module?

Alby

Re: calendar display bug

Posted: Sat Mar 04, 2006 2:39 pm
by davidL
Alby are you referring to the calendar version in the svn directory below?
http://svn.cmsmadesimple.org/svn/calendar/trunk/

I tried it but got the same result. display="list" not working

David

Re: calendar display bug

Posted: Sun Mar 05, 2006 9:15 am
by alby
davidL wrote: Alby are you referring to the calendar version in the svn directory below?
http://svn.cmsmadesimple.org/svn/calendar/trunk/

I tried it but got the same result. display="list" not working
Yes, from SVN of 27 Feb I have (in order display=: 1. calendar , 2. upcominglist , 3. list):

Alby



[attachment deleted by admin]

Re: calendar display bug

Posted: Sun Mar 05, 2006 4:42 pm
by katon
davidL wrote: I have a problem with the calendar module. I posted it before on general help but got no answer so I’m testing here. I’m becoming desperate as I cant get the display=”list”option to work.
I had this problem myself, but then I played around with the tag attributes and it disappeared.  Now I can't reproduce it in order to fix.  Can anybody help?

Re: calendar display bug

Posted: Mon Mar 06, 2006 8:37 pm
by davidL
I got the cvn version to work now :D. I don’t know what I did wrong the first time but up on downloading again and reinstalling it works also with display=list. The list option works as it supposed to but unfortunately it did not work as I had hoped to.  I was hoping that I could display all events during one year using the “year” option, but this only works for displaying a specific moth during the specified year. An ugly fix to that was to simply write the tag down 12 times and for every tag specify year and month, but then events spanning over moths are displayed tvice :(.

May I suggest making a full year list display a future enhancement? :)

Katon, if the cvn version works then I suppose there is nothing to fix ?

David

Re: calendar display bug

Posted: Mon Mar 06, 2006 8:51 pm
by katon
I fixed a bug with the list display and commited it to svn. Probably this was the bug you are talking about.  I understand the administrators are still waiting for more feedback before releasing a beta or a stable version.  I told them that once and now I have just bugged them again :-)

Re: calendar display bug

Posted: Fri Mar 17, 2006 10:30 am
by katon
davidL wrote: The list option works as it supposed to but unfortunately it did not work as I had hoped to.  I was hoping that I could display all events during one year using the “year” option, but this only works for displaying a specific moth during the specified year.... May I suggest making a full year list display a future enhancement? :)
Try the svn version now.  Use display="yearlist" instead of display="list".

Re: calendar display bug

Posted: Sat Apr 01, 2006 2:14 pm
by davidL
Hi Katon!

I’ve been away from the forum for some time, but this week when I came back I got a pleasant surprise  :o. Thanks for fixing the calendar yearlist option! I feel stupid not to have noticed it before. I have implemented it on my site and it works very good. Big Thanks!! :)

One minor bug I found (beta3 version) is that if you start adding a new event, but then choose to abort and press cancel, nothing happens. Is so minor I hardly find it worth to mention, but I though I would mention in case you had missed it.

Re: calendar display bug

Posted: Sat Apr 01, 2006 9:22 pm
by davidL
Is there any variable name I can use in the calendar "list template" to display what category a event belongs to? When using the yearlist option for instance I would like to write something like {$event_category} to display what category it is. Or even better, us the parameter to give a special formatting to events of a special category.

Now {$event_category} does off course not exist, but is there something similar?

Re: calendar display bug

Posted: Sun Apr 02, 2006 10:38 am
by katon
No, there's nothing like that at the moment.  Sounds like a nice feature request.  Can you post this in the project tracker?