PiRSquared17 / mw-calendar

Automatically exported from code.google.com/p/mw-calendar
0 stars 0 forks source link

Values for "today" and "tomorrow" change when different month selected in monthly view #112

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Wiki Version: 1.14
Calendar Version:

Problem:Changing the month on the monthly view changes "today" and
"tomorrow" when multiple calendars are on the same page. 

I have a page set up to display "today" and "tomorrow" in a table above the
monthly calendar view. If I change the display of the monthly calendar to a
different month, that same month shows up in "today" and "tomorrow". 
Here is the code I'm using on my wiki page:

{|{{table width="95%" align="center" cellpadding="5" }} class="wikitable"
|-
| 
|align="left" style="background:#23376D;color:white;"|'''Today...'''
|
|align="left" style="background:#23376D;color:white;"|'''Tomorrow...'''
|-
|<calendar name="Out of Office Calendar" defaultedit="1" date="today" />
|<calendar name="Out of Office Calendar" defaultedit="1" date="tomorrow" />
|}
<br /><br />

<calendar name="Out of Office Calendar" editdefault usetemplates
enablerepeatevents=45/>

Original issue reported on code.google.com by TraceyCl...@gmail.com on 23 Oct 2009 at 9:29

GoogleCodeExporter commented 9 years ago
Calendar version v3.7.1 (3/1/2009)

Original comment by TraceyCl...@gmail.com on 23 Oct 2009 at 9:30

GoogleCodeExporter commented 9 years ago
The calendar entries are stored via cookies based on the calendar names. 

You need to change the names for the day calendars and use the parameter 
<subscribe>
and point to the main calendar. That's the best method.

See the help for more information.

Original comment by kenyu73 on 23 Oct 2009 at 9:40

GoogleCodeExporter commented 9 years ago
Thank you for the suggestion. It worked. Perhaps it could be added to the
documentation on listing multiple calendars on the same page?

Original comment by sylen...@gmail.com on 27 Oct 2009 at 8:03

GoogleCodeExporter commented 9 years ago

Original comment by kenyu73 on 16 Nov 2009 at 11:44