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: Date restrictions
yann
Junior Member

Posts: 3
Registered: 8/1/2005
Member Is Offline
posted on 8/1/2005 at 11:51 AM Reply With Quote
Date restrictions


Hello,

Is there a way to forbid a list of days AND every sundays ?

Thanks
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 8/1/2005 at 06:31 PM Reply With Quote

yes, that's possible with Tigra Calendar PRO.
View User's Profile View All Posts By User U2U Member
yann
Junior Member

Posts: 3
Registered: 8/1/2005
Member Is Offline
posted on 8/2/2005 at 08:52 AM Reply With Quote

Could you please tell me how ?

I can forbid dates :

var CAL_INIT2 = {
...
'dataformat' : 'd/m/Y',
'forbidden': {
'date':['01/01/2006','04/07/2005']
}
...
};

I can forbid day of week :

var CAL_INIT2 = {
...
'dataformat' : 'd/m/Y',
'forbidden': {
'weekday':['Sat','Sun']
}
...
};

But how can I forbid BOTH ?

Thanks
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 8/2/2005 at 06:07 PM Reply With Quote

'forbidden': {
'date':['01/01/2006','04/07/2005'],
'weekday':['Sat','Sun']
}

Let us know if that doesn't work for you. Alternatively you can allow Mon-Fri and forbid dates.
View User's Profile View All Posts By User U2U Member
yann
Junior Member

Posts: 3
Registered: 8/1/2005
Member Is Offline
posted on 8/3/2005 at 09:28 AM Reply With Quote

It's still does not work :

// Every saturdays & sundays are allowed (except those which are days off)
var CAL_INIT1 = {
'formname' : 'test_form',
'forbidden': {
'date':['01/01/2006','03/01/2006','05/01/2006','07/01/2006'],
'weekday':['Sat','Sun']
},
'selected' : '01/01/2006',
'dataformat' : 'd/m/Y'
};

// Only saturdays & sundays are forbidden (days off are allowed)
var CAL_INIT2 = {
'formname' : 'test_form',
'allowed': {
'weekday':['Mon', 'Tue', 'Wen', 'Thu', 'Fri']
},
'forbidden': {
'date':['01/01/2006','03/01/2006','05/01/2006','07/01/2006']
},
'selected': '01/01/2006',
'dataformat' : 'd/m/Y'
};
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 8/4/2005 at 01:14 AM Reply With Quote

ok, submit a support ticket attaching all the files in the zip package. We'll take a look at them and will return working configuration.
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