on 09-01-2007 10:46 AM
Hi,
<br>
Im trying to change the masthead logo image.
I downloaded the com.sap.portal.navigation.masthead.par and opened it on IDE.
I understood that I need to update the HeaderiView.jsp on this location: <br><br>
<TD class="prtlHeaderNotch" id="header_notch" nowrap><img src="<%=themeRootURLPath%>/../common/1x1.gif"
class="prtlHeaderNotchImgWidth"></TD>
<TD nowrap ti="0" tabIndex="0" class="prtlHdrWelcome"
id="welcome_message"><%=StringUtils.escapeToHTML(GetWelcomeMsg(componentRequest, welcomeClauseStr))%></TD>
<TD class="prtlHdrBrandImgContainer" ti="-1">
<%=GetLicenseText(componentRequest)%></TD>
<br><br><br>
1. What should I need to do in order to change the logo?
I was looking for < img src tad but didnt find and I understood that the original logo is
retrieved by prtlHdrBrandImgContainer. In this case, should
I remove this line? What should I add instead?
<br><br>
2. Where I need to locate the new image I want to use?
<br><br><br>
Thanks in advance
<br>
yoel
Hi Yoel,
if u want to change only the logo it doesnt require the change of code.u can change it through theme editor.
customization of par file is required if and only if u want to change the structure of masthead that is changing the places of logo,branding image etc..
To change the logo through follow thest steps
1.Navigate through System Administration --> Portal Display --> Open your theme
2. Save it in your own name to avoid the changes in the default theme.
3.Open the Logo section.
4.In this provide the full address of ihe image location at the URL to logo field.
5.Save your changes and assign this theme to your portal desktop.
Refer this to know about assigning theme to portal desktop
OR if u want to customize the par file refer this
Regards,
Tamil K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
sap uses css files for mapping the picture info
that is why you are not seeing any img src tag over there....
Message was edited by:
Steelman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Malekan,
img src button will not be there in the headeriView.jsp.
instead when you put an image, you need to specify the image source.
first you place the image under dist/images of your working folder.
then use the img src tag
and to retrieve the location use the componentRequest.getWebResourcePath()
cheers.....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Malekan,
Just to change u don't really need to do any thing with coding.
Just edit the therme the u can find the masthead the the logo image option.
Try it.
MrChowdary.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
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.