Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: 1. set available only two years 2. how to riset the current day
blekm
Junior Member

Posts: 6
Registered: 4/17/2007
Member Is Offline
posted on 4/17/2007 at 02:15 PM
1. set available only two years 2. how to riset the current day


1) is there a way to block the year? Actually I can go to every year: 2007, 2008, 2009, 2010. Is there a way to set available only the current year and the next year? 2007 and 2008. I don't won't to see other years...

2) in which way I can set the date of the calendar to the actually day? Something like this: if you select a day in August, I want to set the date to current day...
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 4/17/2007 at 03:52 PM

1. With Tigra Calendar PRO you have multiple options to black-out dates. For example you can set 01/01/2007 as earliest allowed date and 12/31/2007 as latest allowed date. Another option is using forbidden/year or allowed/year options (see Calendar Initial Setting Structure section of the product documentation)

2. when you change months the calendar doesn't change the selection unless you click on a date. The script customization is required to change that behavior.
View User's Profile View All Posts By User U2U Member
blekm
Junior Member

Posts: 6
Registered: 4/17/2007
Member Is Offline
posted on 4/18/2007 at 08:35 AM

(I'm using Tigra Calendar Pro)
1) in which way I can set 01/01/2007 like earliest date and 31/12/2008 like latest allowed date?...

2) when i change year (maybe i select 2009) and then i click 4 february 2009, i want to control this date and set initial date.. how I do this?

For me it's most important know how to set the initial date after a date selected in 2009... ;-) or under particul condition how to set on calendar the initial date.
View User's Profile View All Posts By User U2U Member
blekm
Junior Member

Posts: 6
Registered: 4/17/2007
Member Is Offline
posted on 4/18/2007 at 11:02 AM

how to block the year? I've try in different way, but I cannot resolve...

see attachment.

blekm has attached this image:
calendar.jpg - 4.87kb
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 4/18/2007 at 09:40 PM

in calendar's configuration structure

'mindate': '01/01/2007',
'maxdate': '12/31/2007',

this will only show 2007 in year selector and also prevents from selecting any dates in other years
in the parameters use the date format you defined for the calendar.
View User's Profile View All Posts By User U2U Member
blekm
Junior Member

Posts: 6
Registered: 4/17/2007
Member Is Offline
posted on 4/19/2007 at 07:40 AM

I've resolved!! This is my calendar structure, block Monday, 12/13/14 April 2007 and available only date from 1 January 2007 to 31 December 2008

var CAL_INIT1 = {
'formname' : 'test_form',
'controlname' : 'controlname1',
'forbidden': {
'date' : ['13-04-2007','14-04-2007','12-04-2007'],
'weekday' : ['Mon'],
},
'mindate': '01-01-2007',
'maxdate': '12-31-2008',
'dataformat' : 'd-m-Y'
};
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Popup Calendar
Onpage Calendar
Modal Calendar
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004