https://blog.csdn.net/lzl1101206656/article/details/74171999

EBS系统logo的修改

!!!用应用的用户登录!!!
!!!用应用的用户登录!!!
有两种方法,一种是在系统中找到需要替换的图片,删除掉,然后把需要替换的图片上传到系统中指定的路径下(获取路径的方式见下文),注意两者的名字必须一致,然后执行下2,3的操作
另一种是把需要修改的图片上传到对应的路径下,然后再控制前台页面的jsp文件中,把图片的名字改成你上传的图片的名字,然后执行2,3步操作
因为版本的不同,对应的图片的名字可能不同,应该去页面或者是下文中提到的jsp文件中去查看对应的
图片的文件名,但是路径是不变的,都是在$OA_MEDIA中。
echo $OA_HTML 得到的路径即为在系统中的路径
0. cd $OA_HTML
   把AppsLocalLogin.jsp和login.css拿下来(复制剪切都行,如果只是修改图片不修改样式,css文件不需要管它,即只操作jsp文件即可)
   在jsp中找到logo图片所在的路径,然后把图片名字改成自己图片的名字
1. 将AppsLocalLogin.jsp上传至$OA_HTML 覆盖
   将img下的图片(即你想改成的图片)上传到$OA_MEDIA目录下
   将css中的login.css文件上传到$OA_HTML(基本不用修改css文件)目录下覆盖
系统中的图片名字为:oracle_white_logo.png
2. 执行
perl $FND_TOP/patch/115/bin/ojspCompile.pl --compile -s 'AppsLocalLogin.jsp' --flush -p 2        (注意,这个地方直接把这条命令拷进去执行就行)
 
3.重启oacore
$ADMIN_SCRIPTS_HOME/admanagedsrvctl.sh stop oacore_server1
$ADMIN_SCRIPTS_HOME/admanagedsrvctl.sh start oacore_server1
注意,如果是多节点的话,oacore_serve后面的数字就会改变,次节点不一定是2,也可能是3可以通过weblogic查看
--需要注意的是,两种方法可能因为某些原因不成功,一种方法不行换另一种即可
 
注意,若是修改完,form打不开的话,重启下form服务即可
 

1. Attributes of the login page

It is possible to control the display of some attributes of the login page, for instance user name or password hints, language switchers, forgot password link, corporate policy message, etc.

For this, you need to set the profile option 'Local Login Mask' (FND_SSO_LOCAL_LOGIN_MASK) with a number being the sum of the mask values described in the table below:
 

 

Description

Mask value

Hint for Username (USERNAME_HINT)

01

Hint for Password (PASSWORD_HINT)

02

Cancel button (CANCEL_BUTTON)

04

Forgot Password link (FORGOT_PASSWORD_URL)

08

Registration link (REGISTER_URL)

16

Language Images (LANGUAGE_IMAGES)

32

Corporate Policy Message (SARBANES_OXLEY_TEXT)

64

 

* For instance the value 32 (default) displays only the language icons and value 127 will show all the attributes on the page.

* The change takes effect immediately after re-login to E-Business Suite.

2. Message texts

It is possible to modify or add text on the login page by changing the value of some messages.
The following table shows the related messages and their default value:

 

DescriptionDefault value
FND_SSO_WELCOME Login
FND_SSO_EBIZ_SUITE E-Business Suite
FND_SSO_COPYRIGHT_TEXT Copyright (c) 2007, Oracle. All rights reserved.
FND_SSO_SARBANES_OXLEY_TEXT Corporate Policy Message

 

 
To change the value of a message:

1. Go to "Application Developer" responsibility
2. Select "Messages" from the menu
3. Query  the message name and then enter your message text in the 

   "Current Message Text" field
4. Save changes and exit
5. Clear cache and bounce Apache to see the change


* Note that some messages can be used elsewhere that in the login page and can be updated by a patch

* If you want to change also the default branding 'E-Business Suite' on other pages, to match the text on the login page (defined by FND_SSO_EBIZ_SUITE message), then follow the steps below:

a. Login with System Administrator responsibility
b. Navigate: Application ---> Function
c. Query the function 'FWK_HOMEPAGE_BRAND'
d. Replace the value of the 'User Function Name' with the desired text
c. Logout and login to see the change (you shouldn't need to clear caches and bounce apache)

* The 'FND_SSO_SARBANES_OXLEY_TEXT' message is only displayed when the mask
value 64 is added to the profile option 'Local Login Mask'.

3. Corporate branding logo

The Oracle logo is displayed on various E-Business Suite pages and can be changed by setting the 'Corporate Branding Image for Oracle Applications'  (FND_CORPORATE_BRANDING_IMAGE) profile option to the full path name of an image file (.gif) that contains your corporate image.

However it is not possible to use this method for AppsLocalLogin.jsp since it is hard coded with the Oracle logo image file 'FNDSSCORP.gif'.
The non supported solution consists in:

1. Go to the $OA_HTML directory
2. Backup the AppsLocalLogin.jsp file
3. Copy your own corporate branding image under $OA_MEDIA directory
4. Edit the AppsLocalLogin.jsp file :

  from :

ImageBean imgBean1 = new ImageBean("/OA_MEDIA/FNDSSCORP.gif", FND_ORACLE_LOGO);

  to :

ImageBean imgBean1 = new ImageBean("/OA_MEDIA/<your image file name>", FND_ORACLE_LOGO);

5. Clear caches and bounce Apache to see the change


4. Other modifications

AppsLocalLogin.jsp being a Java Server Page you can change the HTML or Java code (for instance with JDeveloper), create you own messages in the Messages Dictionary thru AOL responsibility, etc., if you want to add other customizations. This is considered a customization and thus not supported by Oracle. If you apply patches replacing AppsLocalLogin.jsp the file will be overwritten.