Xin Calendar 2 Mods: Date Link
The Date Link mod will open pages defined for dates.
To turn it on:
xcMods=[... {"order": 1, "mod": "Date Link", "script": "mod_link.js"}, ...
or:
<script language="javascript" src="../config/xc2_default.js"></script> <script language="javascript"> xcMods[5].order=1; </script>
To define page URLs with dates, we have:
addDateLink(conf_name, css, css_disabled, date_format, date, url)
addDateLink("conf", "day_current", "", "", "2004-08-01", "http://www.google.com"); addDateLink("conf", "day_current", "", "", "2004-08-31", "http://www.yahoo.com");
The Date Link mod shares some settings with the Journal mod in the default config file (config/xc2_default.js):
xcLinkBasePath=""; xcLinkTargetWindow="_blank"; xcLinkTargetWindowPara="location=1,menubar=1,resizable=1,scrollbars=1,status=1,titlebar=1,toolbar=1";
[Long Date Format] [Back to index page]
# # #