Question
I would love to be integrate a weekly (TimeTable) and Monthly calendar as described in
Support.HowToIntegrateWeekAndMonthCalendar. Unfortunately, there are two slightly different comment template defininitions to choose from and neither quite works.
The comment template code (verbatim) in
Sandbox.CalendarPluginAddEventCommentPluginTemplate
puts the expected values into my event list but does not handle end times or colors (and does not handle start times in a convenient way). Drat.
The code comment template code attached to
Support.HowToIntegrateWeekAndMonthCalendar
allows end times and colors times but has a bug somewhere. Only part of the event is placed in the event list:
* - Subject %TOOLTIP{TEXT="detail" TITLE="Subject" STICKY="true" WIDTH="200" ABOVE="true"}% ...more %TOOLTIP{END}%
It should look more like
* 30 Aug 2007 - %TTCM{"09:30-12:45,Green"}% Subject %TOOLTIP{TEXT="detail" TITLE="Subject" STICKY="true" WIDTH="200" ABOVE="true"}% ...more %TOOLTIP{END}%
The Template variables
%URLPARAM{"appt_calendar_entry"}%
%URLPARAM{"timecode_start"}%
%URLPARAM{"appt_time_entry"}%
%URLPARAM{"timecode_end"}%
which hold the date and time range are coming up blank.
My
JavaScript knowledge is stretched to the max and I'm confused. Can anyone see the bug?
Environment
--
VickiBrown - 29 Aug 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
I attached an updated version of the Calendar Plugin Add Event Comment that deals with start/end times and colors to
CalendarPluginAddEventCommentPluginTemplate
My knowledge of Javascript is rudimentary but the variables in the code you reference above do not seem to be being passed a value from anywere.
--
CynthiaManuel - 31 Aug 2007
Closing this after more than 30 days of inactivity. Please feel free to reopen the question.
--
PeterThoeny - 03 Oct 2007