Apache Forrest Notes
Integration of Impressum Information
German law requires every website with a commercial interest to carry an "easily reachable" link to an impressum page with information about those responsible for the contents of the site. It is common practice to place such a link in the footer of every page of the site.
The proposed solution is a very quick and equally dirty hack:
1. Insert Link into Page Footer
The standard pelt skin displays the last modified date twice on every page: In the top right corner right under the search form and in the bottom right corner in the page footer. The latter instance is replaced by a link to the impressum page.
In {FORREST_HOME}\main\webapp\skins\pelt\xslt\html\site2xhtml.xsl locate the line which generates the last modified date in the page footer:
...
|start bottomstrip
+</xsl:comment>
<div class="lastmodified"><xsl:call-template name="last-published"/> </div>
<div class="copyright">
...
Replace the line with a direct link to the impressum page.
...
|start bottomstrip
+</xsl:comment>
<div class="lastmodified"><a href="/impressum.html">Impressum</a></div>
<div class="copyright">
...
The link is now placed in the bottom right corner of the page and invariably points to impressum.html in the top level directory of the site.
2. Create Impressum page
Create a page with impressum infomation as impressum.xml in the directory {PROJECT_HOME}\src\documentation\content\xdocs.

