[opencms-dev] Showing app-name in login window
Claus Priisholm
cpr at codedroids.com
Wed Sep 17 13:40:02 CEST 2003
I've copied the opencms webapp in tomcat such that I also have a foobar
webapp. Now I would like to see that app-name somewhere on the login
page. I've been looking at "/system/login/index". As this in using the
'old' XML template mechanism I'm sort of lost as to what tags can be
referenced from such a thingy.
Is there a way to reference the app-name (or perhaps a way to read a
property from the opencms.properties file which I could add reflecting
the app-name or an even more descriptive text). In particular I would
like to change the following line:
<td class="head" colspan="2">]]><METHOD
name="message">login.title</METHOD><![CDATA[</td>
to something like
<td class="head" colspan="2">]]><METHOD
name="message">login.title</METHOD><![CDATA[ - ]]><METHOD
name="something">some.relevant.path</METHOD><![CDATA[</td>
So far I just hacked the title on the index.html file, but that'll
probably become tedious as more renamed apps appears...
--
Claus Priisholm
+45 48 22 46 46, fax: +45 48 22 46 43
cpr at codedroids.com
http://www.codedroids.com
More information about the opencms-dev
mailing list