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 

Agenda mode only

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



Joined: 21 Sep 2006
Posts: 1

PostPosted: Thu Sep 21, 2006 6:36 am    Post subject: Agenda mode only Reply with quote

Hi,

I want to use the pop calendar in some sort of an agenda-only mode, meaning that I want only dates with agenda are clickable, but the rest is not. Currently, I have dates with agenda and dates without. Clicking on dates without will close the calendar without doing anything. I want those dates not clickable.

I went thru normal.js and also the FAQ but don't see an option to do that. I appreciate your help on this.

Regards,

Huy Vo
Back to top
View user's profile Send private message Yahoo Messenger
calendarxp
Site Admin


Joined: 30 Jan 2005
Posts: 409

PostPosted: Thu Sep 21, 2006 1:40 pm    Post subject: Reply with quote

It's easy - simply go to the theme-name.js file, e.g. normal.js, and find the gsAction option. Change it to the following will do the trick:

Code:
var gsAction=null;

Now, all dates will be banned unless you add an agenda with a non-null action parameter, e.g. using " " instead of null in the parameter as following:

Code:
fAddEvent(2006,9,23, "Hello World!", "", "#87ceeb", "dodgerblue");

_________________
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 -> PopCalendarXP 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