Wednesday 29 January 2014

Change the oracle Logo for 9.1.X tools releases

Introduction:

You need to make these changes in the runtime directories for E1, but if you replace a tools release they’ll be gone.  I generally set up some vbs / cmd scripts that can refresh all my customisations in one fowl swoop – so that if I deploy a new tools release, all of my skinning changes can be made immediately.  Note that I also like to add new files as opposed to change existing ones, this is why I edit the two jspf files below and not just rename of the oracle_logo.png file.

Changing the oracle logo once you’ve logged in:

imageAnother sample hack.  You get the picture.  Oracle logo gone and your one in it’s place.  With some nice hover text too!

File to change:

D:\Oracle\Middleware\user_projects\domains\E1_Apps\servers\JWB01P_PDCMSAU_94\stage\JWB01P_PDCMSAU_94\app\webclient.war\WEB-INF\jsp\maflet\DropdownHttpMafletWrapperHeader

This is the new

if (!viewBean.getInOWP())

{

%>

<td id=topimagecell valign="top" class="topimagecell">

<table border="0" cellspacing="0" cellpadding="0" width="100%" class="topnavtable">

<tbody>

<tr>

<td><img id="UISp1" src="<webgui:resourceUrl resourceUrl="afr/t.gif"/>" alt="" width="4" height="0px"></td>

<td><img id="oracleImage" onclick="javascript:goHome();" alt="Myriad IT Services" width="90" height="23px" style="cursor:pointer; padding-top: 1px;"

src="<webgui:resourceUrl resourceUrl="images/rcux/myriad_logo.png"/>"></td>

<td><img id="UISp2" src="<webgui:resourceUrl resourceUrl="afr/t.gif"/>" alt="" width="3" height="0px"></td>

<td><span onclick="javascript:goHome();" style="white-space:nowrap; cursor:pointer;" class="appname" id="Sot13">JD Edwards EnterpriseOne</span></td>

<td nowrap="nowrap" align="<%=viewBean.getOppositeBaseAlignment()%>" valign="top" width="90%" class=toptext>

<table border=0 cellpadding=0 cellspacing=0 role="menubar">

<tbody>

<tr>

Changing the oracle logo on the login page:

imageSorry about the hack demo – I didn’t have time to do it nicely.  Shows you what you are changing though.

file to change.

\\webserver\d$\Oracle\Middleware\user_projects\domains\E1_Apps\servers\JWB01P_PDFIN_96\stage\JWB01P_PDFIN_96\app\webclient.war\share\loginDecoration.jspf

if ( (companyLogoImageURL != null) && (companyLogoImageURL.length() > 0) || smallScreen )

{

if (companyLogoImageURL.length() != 0)

{

sb.append("<img src=\"");

sb.append(resourceUrlBuilder.createUrl("/share/images/rcux/myriad_logo.png"));

sb.append("\" ALT=\"ORACLE &reg;\"");

sb.append(" width=\"219\" border=\"0\" height=\"75\">");

}

}

Else

10 comments:

Anonymous said...

How do you change the JD Edwards EnterpriseOne text on the non-login page? I can change it using the loginDecoration file for the login page but cant find where to change for the page once logged in?

Anonymous said...

One fell swoop

Anonymous said...

Hello, I've tried making these changes, as well as others you've suggested on http://shannonscncjdeblog.blogspot.com/2013/11/customising-login-for-jd-edwards-91-and.html but I don't get any results. The modifications show up in the files, but the changes aren't seen on the login page or the welcome page. Any ideas of what I may be missing? Also, I can verify that I've deleted all cookies and temporary Internet files from my browser and also tried other computers and even tried from the browser on the web server itself. Still don't see any of the modifications. Thanks for your time!

Shannon Moir said...
This comment has been removed by the author.
Shannon Moir said...

I'd try a restart of the JDE web instance in your situation. I'd also make sure that you are changing the correct files, they are not the ones in the SM dir, they are the runtime ones in the WLS dir. Good luck, this does work! Sounds like you are doing the right things.

Anonymous said...

Appreciate the quick reply. I've previously attempted restart of both web instance and web server. Neither fixed the issue. Also, I verified I've been modifying the correct file. Same directories those you've posted. Just in case, I also tried modifying the files located here: jde_home\SCFHA\targets\*instance_name*\owl_deployment\webclient.ear\app\webclient.war\share

Shannon Moir said...

You need to make a simple change to a file and work backwards. You can rightclick the source of the login page, find the disclaimer text and change it, see if it flows. You could have proxy issues your could have WLS cache issues, load balancer issues... At the end of the day, changing the image files will get through.

Anonymous said...

Thank you for the additional information to work off of. Being "green" to JD Edwards, I really rely on the generosity of CNC experts such as yourself.

Brandon Kirsch said...

Heads up for others on Tools 9.1.x - the WebLogic server cache needs to be cleared from the filesystem before your changes will appear.

After fumbling through the process a few times, here is the clearest way I have found to clear the WebLogic server cache:

1) Make changes to html4login.jsp that's buried well under the "stage" path from the main post.

2) Use JDE Server Manager to stop the appropriate webserver instance

3) Browse to the "stage" folder from the first step and go up one level. You should see a "tmp" folder here, open it.

Open the "_WL_user" folder.

Open the instance name (in our case it starts with "HTML_")

Select all folder names (random letters & numbers) and delete them all. The cache is now clear.

4) Use JDE Server Manager to start the appropriate webserver instance.

5) Wait a few moments for everything to start up, and now go check your login page where the new changes should finally appear.

Unknown said...

hello ,

It will be same for the 9.2 also ???
Please share the document if you have any?