cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Custom Theme and Color of Registers

Former Member
0 Kudos

Hi everybody,

I am implementing a custom theme with EP SP 15 (Sneak Preview). All the changes I am making in the Theme Editor are displayed correctly, except for the colors of the registers.

The preview in the Theme editor works fine but when I activate the theme in the portal the background of the registers is still the same as in the standard theme (the images for the borders or the registers however are the ones I chose).

I read about the caching problem in the SAP library and deleted the browser cache before saving but it didn't help.

Any ideas or hints would be appreciated!

Regards Andy

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

is there already a solution to this problem, because i have the same.

thank you

HuseyinBilgen
Active Contributor
0 Kudos

Hi,

If you are talking about custom registration page, accessed via login page, you have to change its background manually by editing logon package. There is a procedure on help.sap.com how to change logon page.

Here I'm pasting the necessary parts. But hava a look at original doc.

To customize the logon UI, we recommend the following procedure:

1. Make a copy of com.sap.portal.runtime.logon.par.bak and rename it. In this example, it is renamed to my.new.logon.par.

2. Move my.new.logon.par to a location outside of the <SAPJ2EEngine-deployment-dir>.

3. Extract the files from my.new.logon.par preserving the directory structure.

4. Modify files in the extracted PAR file.

5. Put the modified files back into my.new.logon.par.

6. Copy my.new.logon.par back to <SAPJ2Eengine-deployment-dir>\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\deployment\pcd.

7. Rename the file <SAPJ2Eengine-deployment-dir>\cluster\server\ume\authschemes.xml.bak to authschemes.xml.

8. In authschemes.xml, replace all occurrences of the string "com.sap.portal.runtime.logon" with "my.new.logon" in the tags <frontendtarget> and save the file.

9. Restart the portal.

--> Changing the authschemes.xml File

You can change the authschemes.xml file using the Config Tool of SAP Web Application Server Java. When you edit the file, you should download the file to a local directory, edit it, and when uploading the edited file, create a new node in the configuration tree for it. In this way you do not loose the original version of the file.

1. Start the Config Tool by executing <SAPJ2EEEngine_installation>\j2ee\configtool\configtool.bat.

2. Choose the symbol for Switch to configuration editor mode.

3. In the tree, navigate to cluster_data u00AE server u00AE persistent u00AE com.sap.security.core.ume.service.

4. To switch to edit mode, choose (Switch between view and edit mode).

5. In the tree, select authschemes.xml and choose (Show the details of the selected node).

6. Choose Download and save the file to a local directory.

7. Edit the file locally.

8. Create a new node in the configuration tree for the edited file as follows:

a. Select the node com.sap.security.core.ume.service.

b. Choose the symbol for Create a node below the selected node ().

c. Select the type File-entry.

d. Choose Upload and select the file from your local directory.

e. Enter the name for the entry, for example, authschemes_productive.xml. By default, the name of the uploaded file is used.

f. Choose Create.

g. Choose Close window.

The new node appears in the configuration tree.

For UME to use the new file, you have to change the value of the property login.authschemes.definition.file to the name of the new authschemes file. Change the property as described in Editing UME Properties.

9. Restart the nodes in the cluster for the changes to take effect.