A Custom Message on the Signon Page (part 3) November 9, 2007Posted by Duncan in Oracle, PeopleSoft, PIA.
A further solution to the ‘Message of the Day’ problem has presented itself which may or may not (depending upon the client’s requirements) be a neater solution.
This is quicker and cleaner to implement, but only works with IE. If your client uses Firefox this isn’t the answer for you!
So how do you do it?
1) Create the MOTD.html file in the same location as before, but this time leave out any tags and style info, just have the text.
2) Edit the signin.html page.
Place the following in the scripts section:
var xml = new ActiveXObject("Microsoft.XMLHTTP");
xml.Open( "GET", url, false );
And add the following in the same place as before.
<p class="pslogintext"> <%=traceLink%> </p>
<p class="psloginerror"> <%=error%> </p>
<p class="psloginerror"> <%=ps.discovery.error%> </p>
This solution was gleaned from a discussion on Customer Connection and in particular from a gent named Jeremy Radwan.