I have created a Calendar format

I have created a Calendar format

tobias contreras -
回帖数:18

Technology Enhanced Academic Movement (TEAM)
For the Lethbridge School District

This works alot along the same line as the week format but it looks like a calendar, dynamicaly changes and allows you to add modules and notes each day.

(I have modified my own course->lib file so that the title of the module wont apear beside the icon to save on space.)

I have tried to make it adhere to themes but feel free to modify it.... You may need to rename it to "weeks.php" so that you can select it from the format list. 

回复tobias contreras

Re: I have created a Calendar format

Martin Dougiamas -
Core developers的头像 Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像
Cool hack!

I don't think it'll make it into the main distribution but it's a good idea - it'll certainly be useful for the upcoming MyMoodle interface.
回复Martin Dougiamas

Re: I have created a Calendar format

tobias contreras -
Thank you soo much, you have done such an awsome job with moodle. Not only have you made such a wicked program but you have coded it in such a way so that others can understand and build off of it. Youre compliment has certainly brightend my day... if you think there is other features i should add, please feel free to share.
回复tobias contreras

Re: I have created a Calendar format

Jordi Adell -
Support to export/import and publishing events in a standarized format, maybe? (iCal in your sad Mac 微笑 ).

Congratulations,

Jordi.
回复Jordi Adell

Re: I have created a Calendar format

Art Lader -
Looks great!

But I am not clear on how to use it... To where do I upload the script? How do I choose the calendar interface instead of social, topics, and so on.

Thanks.
回复Art Lader

Re: I have created a Calendar format

tobias contreras -

Allowing a teacher to use that format in the selection menu requires quite a bit modification to other files and the database. I will probably post a step by step on how to do it soon. But I do believe in-order to use it you can just replace an unused format (social, topics, or weeks) in the "course" directory with this one. Try that. I have gotten a message that the link poseted creates corrupt data so if you would like it just email me and i shall send it out S;). 

RE: Support to export/import and publishing events in a standarized format, maybe? (iCal in your sad Mac  ).

So you would like the ablitiy to export and import events from iCal? Neat. Is there a standardized format that calendars use, or do alot of people use iCal? Thanks for the feedback.

回复tobias contreras

Re: I have created a Calendar format

Jordi Adell -
Well, I'm not an expert, but there is some RFCs about calendaring and scheduling.

http://www.imc.org/pdi/

In my ideal world 微笑 I can manage the Moodle Calendars from iCal or ohter application that uses vCal formats.

Jordi.
回复tobias contreras

Re: I have created a Calendar format

Art Lader -
Not a problem. I can simply wait until this is part of a standard release, I think. I'm not going anywhere! 微笑

Thanks.
回复tobias contreras

Re: I have created a Calendar format

Marius Marolla -

Fixed the "courseID" problem... (and deleted my stupid question)... 微笑

Attaching the corrected file (english version)...

回复Marius Marolla

Re: I have created a Calendar format

Art Lader -
I dropped it in and changed the name of the file to "social.php" and it seems to be working great. Thanks! (But I really LIKE the real social format, so I have to think about this a little.)

By the way, "Thursday" is spelled with a "u," not an "i." (Thought you'd want me to point that out.)

Thanks, again, for making this available!

By the way, I added this as a resource just above the calendar:

METHOD ONE
To move to the next or the previous month, just click on the double arrows to the right or the left of the name of the month. In some browsers, your cursor will not change to indicate that the arrows are clickable. That's okay, just click anyway.

METHOD TWO
Click on the link below to jump to the month you want:
>><a href="http://www.lader.org/moodle/course/view.php?id=30&month=8">August 2003</a>
>><a href="http://www.lader.org/moodle/course/view.php?id=30&month=9">September 2003</a>
>><a href="http://www.lader.org/moodle/course/view.php?id=30&month=10">October 2003</a>
>><a href="http://www.lader.org/moodle/course/view.php?id=30&month=11">November 2003</a>
>><a href="http://www.lader.org/moodle/course/view.php?id=30&month=12">December 2003</a>
>><a href="http://www.lader.org/moodle/course/view.php?id=30&month=1">January 2004</a>
>><a href="http://www.lader.org/moodle/course/view.php?id=30&month=2">February 2004</a>
>><a href="http://www.lader.org/moodle/course/view.php?id=30&month=3">March 2004</a>
>><a href="http://www.lader.org/moodle/course/view.php?id=30&month=4">April 2004</a>
>><a href="http://www.lader.org/moodle/course/view.php?id=30&month=5">May 2004</a>
>><a href="http://www.lader.org/moodle/course/view.php?id=30&month=6">June 2004</a>
回复Art Lader

Re: I have created a Calendar format

Marius Marolla -

Ooops... Sorry for my english... 伤心

It's really a good idea adding the links above the calendar... i'm going to do that too...

By the way, it seems that the attached file solves the problem with the cursor on the arrows in IE... Hope it helps !!!

回复Marius Marolla

Re: I have created a Calendar format

Art Lader -
Thanks!

And your English seems great to me. 微笑

I actually have run into a little problem with the links, though.

This one currently gives me the calendar for January 2003 -- http://www.lader.org/moodle/course/view.php?id=30&month=1

While this one currently gives me the link to the calendar for January 2004 -- http://www.lader.org/moodle/course/view.php?id=30&month=13

But... What will happen to the second link on Jan. 1, 2004? Will it break? And will the info I have put into Jan. 2004 still be there and be accessable?

Great hack, I am just having to figure out a few things.
回复Art Lader

Re: I have created a Calendar format

tobias contreras -

Hhahaha thanks for the spell check, i am just so fixated on the code that i forget to check my spelling hehe, thanks for the look out.

If anyone would like to see what i have done just try http://popeye.lethsd.ab.ca/moodlelci

Please let me know what you think would be best to add to this.

Thank you.

回复tobias contreras

Re: I have created a Calendar format

Art Lader -
It's great. If you really would like suggestions, I have only these very small ones:

1. Would it be possible for the students to have access to a pull-down menu for navigating through the calendar? Just like the one I see as a teacher?

2. Would it be possible to have the year print out beside the month. Not "January," but "January 2004"?

Thanks so much for this cool hack.
回复tobias contreras

Re: I have created a Calendar format

Marius Marolla -
... and italian version...
回复Marius Marolla

Re: I have created a Calendar format

Williams Castillo -

Hi,

Thanks for the hack!! I like the idea.

I would like that the script inherit the correct strings from the current language package for months and days of week... Is that possible? Any hint? I'm a newbie on PHP.. 伤心

Also, what I really want to do is to make it available from any course format as an "alternate view" of the course timeline (not another course format) so anyone could, in any kind of course, just click in the appropiate link and see the course's chronogram in the calendar, along with the activities' duedates, etc.

Greetings from Venezuela,

Will