CalendarXP.net Support Forum Index CalendarXP.net Support
Most forums here are private and invisible to public.
 
 FAQFAQ   SearchSearch   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Triplex Theme, and start and end dates...

 
Post new topic   Reply to topic    CalendarXP.net Support Forum Index -> FlatCalendarXP Related
View previous topic :: View next topic  
Author Message
Cady36



Joined: 16 Dec 2005
Posts: 25

PostPosted: Mon Feb 06, 2006 11:18 pm    Post subject: Triplex Theme, and start and end dates... Reply with quote

I set my start dates and end dates in plugins.js like so:

var gBegin=gToday;
var gEnd=[2007,2,10];

The problem is that the first TWO calendars in the triplex theme, both read February (the current month). The end date seems to work fine.

Any clues?

Thanks,

Julie
Back to top
View user's profile Send private message
calendarxp
Site Admin


Joined: 30 Jan 2005
Posts: 409

PostPosted: Mon Feb 06, 2006 11:57 pm    Post subject: Reply with quote

It's bug. We'll fix it in next release. For now, please prepend the following code to the very top of plugins.js:
Code:
if (gTheme[3]=="gfFlat_2") gCurMonth[1]+=1;
if (gTheme[3]=="gfFlat_3") gCurMonth[1]+=2;

and modify the id and name of calendar <iframe> tag to make sure all 3 tags use gToday as the init-month param. e.g.
Code:
<table border="0" cellspacing="0" cellpadding="0"><TR><TD>
<iframe name="gToday:outlookleft:agenda.js:gfFlat_1" id="gToday:outlookleft:agenda.js:gfFlat_1" src="iflateng.htm" scrolling="no" frameborder="0">
</iframe></TD>
<TD>
<iframe name="gToday:outlookmid:share[gfFlat_1]:gfFlat_2" id="gToday:outlookmid:share[gfFlat_1]:gfFlat_2" src="iflateng.htm" scrolling="no" frameborder="0">
</iframe></TD>
<TD>
<iframe name="gToday:outlookright:share[gfFlat_1]:gfFlat_3" id="gToday:outlookright:share[gfFlat_1]:gfFlat_3" src="iflateng.htm" scrolling="no" frameborder="0">
</iframe></TD></TR></TABLE>

_________________
Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    CalendarXP.net Support Forum Index -> FlatCalendarXP Related All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Copyright 2003- Idemfactor Solutions, Inc. All rights reserved.
Powered by phpBB © 2001, 2005 phpBB Group