Change default login screen
This is deprecated from version 7.1
Configuring Tomcat external resource
- Stop the Tomcat.
- Edit the "$TOMCAT/conf/server.xml" file and add into xml "<Host>...</Host>" section add the line:
<Context docBase="${catalina.base}/custom" path="/openkm/custom" reloadable="true"/>
The xml Host sections should looks like this:
<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true">
<!-- SingleSignOn valve, share authentication between web applications
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.authenticator.SingleSignOn" />
-->
<!-- Access log processes all example.
Documentation at: /docs/config/valve.html
Note: The pattern used is equivalent to using pattern="common" -->
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" />
<!-- External resources -->
<Context docBase="${catalina.base}/custom" path="/openkm/custom" reloadable="true"/>
</Host>
- Unzip the custom.zip file.
- Start Tomcat.
Change default login web page
Go to Administration > Configuration parameters and edit the parameter:
Property | Type | Description |
---|---|---|
custom.login |
String |
/custom/login.jsp |
Enable frontend top banner section
Go to Administration > Configuration parameters and edit the parameters:
Property | Type | Description |
---|---|---|
custom.header.height |
Integer |
95 |
custom.header.source |
String |
/openkm/custom/header.jsp |