on 12-08-2005 8:03 AM
Hello *,
this is my fist post in SDN, so please excuse if this questions was still posted, but I couldn't find an answer
for this:
We wan to change the initial logon page in
com.sap.portal.runtime.logon
We did all necessary changing within UME and all the other
stuff, so this is not the problem.
What we want is to change the ume.logon.branding_text
to print out on which portal instance you are, like
if you are on the DEV-Portal that you will see a text
like
"DEV - Development Enterprise Portal"
Thanks for your help.
Hi Mike,
This is what I did, it worked out quite well. It displays the text to notify the user which system they are logging into.
Modify the umLogonPage.jsp in the logon par file by adding the following:
function displaySystem(system) {
document.write("<tr>");
document.write("<span style='font-size:10.0pt;font-family:Arial;color:#CC0000'>Please Note that you are logging into the </span>");
document.write("<b>");
document.write("<span style='font-size:12.0pt;font-family:Arial;color:#CC0000'>");
document.write(system);
document.write("</span>");
document.write("</b>");
document.write("<span style='font-size:10.0pt;font-family:Arial;color:#CC0000'> Portal Environment</span>");
document.write("</tr>");
}
Then right after the "<table border="0" width="301" height="100" align="left" cellspacing="0" valign="top">" line in the logon form add this:
<script language="JavaScript">
if (location.hostname=="yourdevhost.yourcompany.net") {
displaySystem("Development");
}
if (location.hostname=="yourqahost.yourcompany.net") {
displaySystem("QA/Training");
}
</script>
Hope that helps.
Robin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Mike!
The branding text is a gif image.
ume.logon.branding_text=/logon/layout/branding-text.gif
You will have to create an GIF image for each instance and put the image on the server. If you have already done so, this could be a caching Problem. Try CTRL+F5 for reloading the logon screen.
Hope it helps,
Christian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Mike!
Perhaps you will find the informations at http://help.sap.com/saphelp_nw04/helpdata/en/23/c0e240beb0702ae10000000a155106/frameset.htm useful.
Regards,
Christian
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.