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 

Add links to the bottom of the calendar

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





PostPosted: Thu Feb 02, 2006 2:50 pm    Post subject: Add links to the bottom of the calendar Reply with quote

I'm using the multi calendar outlook theme (2 month cal) with start date and end date fields. I'd like to create 2 links on the bottom of each calendar:

Start Date Calendar:
1. Clear Start Date (only clears the start date field)
2. Go to Today

End Date Calendar:
1. Clear End Date (only clears the end date field)
2. Go to Today

How would I create these links?
Back to top
calendarxp
Site Admin


Joined: 30 Jan 2005
Posts: 409

PostPosted: Fri Feb 03, 2006 3:02 am    Post subject: Reply with quote

[UPDATE: new demo has been uploaded in the sample code forum, please download from there!]
I've created a demo for you as attached.

You may modify the gsBottom option in outlookleft.js and outlookright.js if you want to pack more links into the bottom section.

_________________
Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved.


Last edited by calendarxp on Tue Feb 07, 2006 6:09 am; edited 1 time in total
Back to top
View user's profile Send private message
zkjc4
Guest





PostPosted: Fri Feb 03, 2006 2:29 pm    Post subject: Reply with quote

calendarxp wrote:
I've created a demo for you as attached.

You may modify the gsBottom option in outlookleft.js and outlookright.js if you want to pack more links into the bottom section.


Where would I find the attachement?
Back to top
calendarxp
Site Admin


Joined: 30 Jan 2005
Posts: 409

PostPosted: Fri Feb 03, 2006 4:43 pm    Post subject: Reply with quote

We've just fixed the permission error. Please try again - you should now be able to see a download link in the above reply.

Sorry for any inconvenience.

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





PostPosted: Mon Feb 06, 2006 4:48 pm    Post subject: Reply with quote

Thank you for the code sample. I've added the code and it works; however there is a minor problem:

1. when viewing the start calendar and you click the "clear end" link, it clears both the start and end dates.

2. when viewing the end calendar and you click the "clear start" link, it clears both the start and end dates.

In both cases above, it should only clear the field in question. Can you please advise how to correct this?

fwiw - this problem is present in the sample page you provided.
Back to top
calendarxp
Site Admin


Joined: 30 Jan 2005
Posts: 409

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

Yes, it's a bug. Please find the 2 fUpdSelect(0,0,0) instances in the plugins.js and replace them with the following:
Code:
fUpdSelect(0,0,0,true);

We've rebuilt the code sample with the latest change, please check out there.

_________________
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