Ideas - A Welcom Message for the Main Page
-- Heinz Josef Lücking - 18.06.04 --Put it into file "PageContent.jsp" rigth above <wiki:InsertPage />
Sample can be seen here http://www.giswiki.de
.
<%
String strStart = ((com.ecyrd.jspwiki.WikiContext)pageContext.getAttribute
("jspwiki.context", PageContext.REQUEST_SCOPE)).getPage().getName();
if(strStart.equals("Main"))
{
%>
<wiki:UserCheck exists="true">
<h2><a>Welcome
<wiki:Translate>[<wiki:UserName />]</wiki:Translate>!</a></h2>
</wiki:UserCheck>
<wiki:UserCheck exists="false">
<h2><a>Welcome!</a></h2>
Set your name in<BR>
<wiki:LinkTo page="UserPreferences">UserPreferences</wiki:LinkTo><br><br>
</wiki:UserCheck>
<%
}
%>
Export functions to forrest
so u can store the content of wiki in a content managements system. The idea is use the wiki for gets the content, its the input system and build with the help of wiki and forrest a documentation system in the intranet. Styles and pdf export do forrest.