Change default login screen

This is deprecated as of version 7.1

 Configuring an external Tomcat resource

  • Stop Tomcat.
  • Edit the "$TOMCAT/conf/server.xml" file and add into the XML "<Host>...</Host>" section the following line:
<Context docBase="${catalina.base}/custom" path="/openkm/custom" reloadable="true"/>

The XML Host section should look 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 &quot;%r&quot; %s %b" />


	<!-- External resources -->
	<Context docBase="${catalina.base}/custom" path="/openkm/custom" reloadable="true"/>
</Host>

Change the default login web page

Go to Administration > Configuration parameters and edit the parameter:

PropertyTypeDescription

custom.login

String

/custom/login.jsp

Enable the frontend top banner section

Go to Administration > Configuration parameters and edit the parameters:

PropertyTypeDescription

custom.header.height

Integer

95

custom.header.source

String

/openkm/custom/header.jsp