on 09-12-2008 7:29 AM
Hi all,
I have created a custom login page by modifying the com.sap.portal.runtime.login.par.bak file and renamed (the copy) mine.portal.runtime.par. i have uploaded this into the pcd.
Then i made a copy of the authschemes.xml file. (authschemes1.xml) and created a new symbol under com.sap.security.core.ume.service for it. Then i changed the property sheet profile of com.sap.security.core.ume.service to take my custom authschemes1.xml
I then restarted the J2EE server and portals. The new login screen worked perfectly. Now, i want to change an image to this custom file. So, i replaced the mine.portal.runtime.par with a new mine.portal.runtime.par in the pcd leaving all the other changes untouched. (to the authschemes1.xml file)
But, now the login page is not changed. it is still having the image of the first mine.portal.runtime.par and not the new mine.portal.runtime.par.
I have tried recycling the J2EE server, but no changes are reflected.
Please Help.
Thanks in advance
Mazin
The steps that I noted down long before
Purpose of document
The document describes how
1. Change Welcome Message and Copyright text
2. Change Branding Image, Branding Text and SAP Logo
Per-Requisites:
1. Go to System Administration -> Support -> Support Desk -> root -> WEB-INF -> deployment -> temp and download the zip file
com.sap.portal.runtime.logon.par.bak
2. Import the PAR file into NetWeaver Developer Studio:
3. Check, that you have the following 2 JAR files under the subfolder /lib :
u201Ccom.sap.portal.runtime.logon_api.jaru201D and u201Cumelogonbase.jar u201C
4. Now you have your project prepared and you are ready for making changes
Change Welcome Message and Copyright text
1. Rename the extension of file from u201Cumelogonbase.jaru201D to u201Cumelogonbase.zipu201D which is under dist\PORTAL-INF\lib
2. Unzip the file u201Cumelogonbase.zipu201D
3. Find the file "logonLabels_" which is language specific, the default is in the file u201ClogonLabels.propertiesu201D
Ex... German logonLabels_de.properties,
for Russian logonLabels_ru.properties or
for English logonLabels_en.properties
4. Find the key (xtit_WELCOME) and change the text after the equal sign, in default and language specific properties file.
5. For changing Copyright text, find the key (COPY_RIGHT) and change the text after the equal sign, in default and language specific properties file.
6. Save the file and recreate a JAR file using a zip program. The file needs to be named umelogonbase.jar.
Change Branding Image and Branding Text
1. Copy the image you want to appear on Logon page in folder dist/layout.
Ex: File name here is u201CmyPic.gifu201D
2. Find the file u201CumLogonBotArea.txtu201D in u201CPortal-infu201D folder
3. For Image replace the below code:
<td>
<img src="<%=com.sap.security.core.logonadmin.ServletAccessToLogic.getAbsoluteURL(webpath,com.sap.security.core.imp.TenantFactory.getInstance().getLogonBrandingImage1(request))%>" alt="Branding Image" border="0"></td>
</td>
With:
<td>
<img src ="<%=webpath + "layout/myPic.gif" %>" alt="Branding Image" border="0"></td>
</td>
4. For Text replace the below code
<img src="<%=com.sap.security.core.logonadmin.ServletAccessToLogic.getAbsoluteURL(webpath,secondImage)%>" alt="" border="0">
With:
<img src="<%=webpath + "layout/test_branding-text.JPG"%>" alt="Branding Text" border="0">
5. For SAP Logo in the below line replace the file name.
<img src="<%=webpath%>layout/sapLogo.gif" alt="<%=logonLocale.get("SAPAG")%>" title="<%=logonLocale.get("SAPAG")%>" width="36" height="18" vspace="3"></p>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all,
Sorry but i got the solution. Just needed to clear my browser cache.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it must work.
import ur new par file in dekstop and see ur new image is present or not.
if it is not present that mean u had done somethign wrong and do again.
if it is present then you can try one more thing.
change the name of par file with something else.
then do chnages in authschemes1.xml (replace name of logon par to new logon par)and restart J2EE engine.
it should work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
for a simple image change do u really need to do some much? you can simple replace the image files under the folder '/usr/sap/J2E/JC00/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/portalapps/com.sap.portal.runtime.logon/layout'
and that should do the trick?
Thanks,
GLM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.