This topic is locked

First day of week and...

7/6/2010 5:40:42 PM
Calendar Template general questions
M
mdorren author

Hi,

I just bought this template (great work), but would like to change the first day of the week to Sunday instead of Monday. I thought I would find that in the calglobals, but no. Also, I want to integrate the calendar template into an existing project, but the custom views do not come along with the database. Since these views are the heart of the templates functionality, this is a challenge. Can you help?
Thanks,

Marty

M
mdorren author 7/6/2010

Also, when I try to go to the visual editor in the calendar template (in my existing project) I get the following error:

M
mdorren author 7/7/2010

OK, Since 19 people have view my problem and NO one has decided to say ANYTHING, I have tried to copy all of the html and event code in order to reconstruct the custom views in my existing project.
...NOW...
In caldaily events, under the add page there is no "daily javascript" submenu, nor is there a way to create it.
...now I'm starting to wonder...
"WHAT DOES ANYBODY USE THIS (OR THESE) TEMPLATE(S) FOR?"... EXCEPT AS STANDALONE APPLICATIONS?

A
ann 7/8/2010

Hi,
to change first day of the week proceed to the Before display event on the Events tab of the calmontly view.

Edit the following code:

xt.assign_p2 "row00sdname1",locale_info("LOCALE_SDAYNAME7")

xt.assign_p2 "row00sdname2",locale_info("LOCALE_SDAYNAME1")

xt.assign_p2 "row00sdname3",locale_info("LOCALE_SDAYNAME2")

xt.assign_p2 "row00sdname4",locale_info("LOCALE_SDAYNAME3")

xt.assign_p2 "row00sdname5",locale_info("LOCALE_SDAYNAME4")

xt.assign_p2 "row00sdname6",locale_info("LOCALE_SDAYNAME5")

xt.assign_p2 "row00sdname7",locale_info("LOCALE_SDAYNAME6")



and remove this code:

wd=wd-2



It's difficult to tell you why the error appears without seeing actual files. Please zip and send your project file to support@xlinesoft.com for investigation.

M
mdorren author 7/8/2010



Hi,
to change first day of the week proceed to the Before display event on the Events tab of the calmontly view.

Edit the following code:

xt.assign_p2 "row00sdname1",locale_info("LOCALE_SDAYNAME7")

xt.assign_p2 "row00sdname2",locale_info("LOCALE_SDAYNAME1")

xt.assign_p2 "row00sdname3",locale_info("LOCALE_SDAYNAME2")

xt.assign_p2 "row00sdname4",locale_info("LOCALE_SDAYNAME3")

xt.assign_p2 "row00sdname5",locale_info("LOCALE_SDAYNAME4")

xt.assign_p2 "row00sdname6",locale_info("LOCALE_SDAYNAME5")

xt.assign_p2 "row00sdname7",locale_info("LOCALE_SDAYNAME6")



and remove this code:

wd=wd-2



It's difficult to tell you why the error appears without seeing actual files. Please zip and send your project file to support@xlinesoft.com for investigation.

https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=51076&image=1&table=forumreplies

"A voice in the dark"...

Thanks Ann, I'll try it. The zip file is sent. By far the biggest concern though is the custom view issue. Any thoughts?