MX Calendar Forum :: Calendar view - TODAY bug
This thread was displayed: 0 times
Starting with 17th May 2007, Adobe Systems will stop offering support for any version of the discontinued InterAKT products. As a result, we will not answer to new support incidents starting with May 17th, 2007. Pending support incidents will still be followed in order to be closed. The product forums will remain open and be transformed in user-to-user forums. The general forums will be made read-only and not allow new posts or comments.
For more information about the affected products visit: www.interaktonline.com/Support/
Karen Scott
05-14-2007 06:13:25 GMT +2
|
Hi,
I am having problems with one small aspect of the calendar - it will not always display the TODAY when clicked. If I am viewing the calendar by day, I get the current day (which is what I want). If I am viewing the month, I get the current month, or the current week if I am viewing by week. What do I need to change to sort this out?
Another small problem - I am storing dates by yyyy-mm-dd hh:mm:ss and do not seem to be able extract these for the current day only. Am using asp vbscript & SqlServer.
Thanks
|
|
|
Ionut MOICIANU
05-15-2007 14:10:27 GMT +2
|
Hello,
Could you maybe provide an URL where to see the problem? I am not sure I understand this exactly.
regards,
Ionut
|
|
|
Karen Scott
05-15-2007 23:20:52 GMT +2
|
|
|
|
Ionut MOICIANU
05-16-2007 19:41:09 GMT +2
|
Hi,
In order to correct this, you need to edit the "includes\cal\CAL_functions.inc.asp" file and replace this line (275):
CAL_getLink = CAL_XHTML_Url(KT_addReplaceParam(KT_getFullUri(), vParam, KT_convertDate(CAL_YMD_Date(Date()), "yyyy-mm-dd", KT_db_date_format)))
with:
CAL_getLink = CAL_XHTML_Url(KT_addReplaceParam(CAL_XHTML_Url(KT_addReplaceParam(KT_getFullUri(), "view", "day")), vParam, KT_convertDate(CAL_YMD_Date(Date()), "yyyy-mm-dd", KT_db_date_format)))
Ionut
|
|
|
Karen Scott
05-17-2007 01:34:38 GMT +2
|
Hi Ionut,
Thant's done the trick - thanks very much.
Karen
|
|
|