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 

Begin Date

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



Joined: 10 Apr 2006
Posts: 16

PostPosted: Mon Nov 20, 2006 4:20 pm    Post subject: Begin Date Reply with quote

I would like to set the gBegin with a date that I am getting from the backend. How can I set that???


Thanks for your time,

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


Joined: 30 Jan 2005
Posts: 409

PostPosted: Mon Nov 20, 2006 8:41 pm    Post subject: Reply with quote

1) Rename the plugins.js to plugins.jsp (or plugins.asp if you use ASP)

2) Prepend the followng lines to the top of plugins.jsp:
Code:
<%@ page language="java" contentType="text/javascript" %>

gBegin=[<%=server_year_var%>,<%=server_month_var%>,<%=server_day_var%>];

3) Modify the iframe tag to use plugins.jsp instead of plugins.js.

_________________
Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved.
Back to top
View user's profile Send private message
jmoran



Joined: 10 Apr 2006
Posts: 16

PostPosted: Wed Nov 22, 2006 9:45 pm    Post subject: Reply with quote

You guys are the best!!

Thanks for the help.

Jennifer
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