Xin Calendar 2 Mods: Journal

The Journal mod will open pages with dates as part of the URLs, it's better to be used with the Date Range mod so that only dates with journal pages are clickable.

To turn it on:

xcMods=[...
        {"order": 1,  "mod": "Journal",  "script": "mod_journal.js"},
        ...

or:

<script language="javascript" src="../config/xc2_default.js"></script>
<script language="javascript">
  xcMods[4].order=1;
</script>

The default config file (config/xc2_default.js) has some settings for the Journal mod:

xcLinkBasePath="";
xcLinkTargetWindow="_blank";
xcLinkTargetWindowPara="location=1,menubar=1,resizable=1,scrollbars=1,status=1,titlebar=1,toolbar=1";

xcLinkPrefix="";
xcLinkSuffix=".html";
xcLinkDateFormat="yyyymmdd";

The URL of a journal page would be [ xcLinkBasePath ] + [ xcLinkPrefix ] + [ xcLinkDateFormat ] + [ xcLinkSuffix ], if we set them up this way:

xcLinkBasePath="http://www.yxscripts.com/";
xcLinkPrefix="journal.asp?day=";
xcLinkSuffix="";
xcLinkDateFormat="yyyymmdd";

then the URL of the journal page would be like this:

http://www.yxscripts.com/journal.asp?day=20040801

[Date Link] [Back to index page]

# # #