This article describes the Sitekit CMS What's New page which displays an automatically updated list of new pages, events and news articles.
An example can be seen at http://www.hie.co.uk/recent-changes.htm
The Audit Trail is designed to provide a comprehensive, accountable list of activity within the admin system. It is a report intended for auditors. The "What's New" page is designed to show site visitors what has recently been added to the site. The audit trail contains many elements which may not be for public consumption, for example unpublished pages, previous versions, and details of exactly who edited what.
<COMMENT>WHATSNEWPAGE</COMMENT>
For example
<TABLE>
<TR><TD>
<COMMENT>BODY1</COMMENT>
</TD></TR>
<TR><TD>
<COMMENT>WHATSNEWPAGE</COMMENT>
</TD></TR>
</TABLE>
The number of days shown on the "What's New" page can be increased or reduced under CMS > Design > Site Settings > Site Search > "Whats New period "(number of days to show)
The default value is 40 days
This can be changed according to the size of the site and the frequency of changes. For example if new content is added every day then you may wish to only show the last 7 days.
By default all items in the list will be styled in the same way as text on the page (the same as text with the <p> tag), however elements are classed as follows allowing the class to be customised in the stylesheet.
.Whatsnewheader {}
.whatsnewlinkweek {}
.whatsnewtitleweek {}
.whatsnewdateweek {}
.whatsnewlinkmonth {}
.whatsnewtitlemonth {}
.whatsnewdatemonth {}
.whatsnewlinkyear {}
.whatsnewtitleyear {}
.whatsnewdateyear {}
For example if you wanted a black bold header, items added in the last week to appear blue, items for the last month to appear red, and items for the last year to appear in green use the following:
---------------------------------------------------
.Whatsnewheader { color: black; font-weight: bold; }
.whatsnewlinkweek { color: blue; }
.whatsnewtitleweek { color: blue; }
.whatsnewdateweek { color: blue; }
.whatsnewlinkmonth { colour: red; }
.whatsnewtitlemonth { colour: red; }
.whatsnewdatemonth { colour: red; }
.whatsnewlinkyear { colour: green; }
.whatsnewtitleyear { colour: green; }
.whatsnewdateyear { colour: green; }
Note: colours are only used to enhance readability.
---------------------------------------------------
To edit the stylesheet choose CMS > Design > Site Templates
Key
|