Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, CommentPlugin, TimeTablePlugin, CalendarPlugin, ToolTipPlugin, GluePlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Javascript

-- VickiBrown - 29 Aug 2007

Answer

ALERT! 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

Change status to:
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2007-10-03 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.