Changing the masthead iview
Hi there,
How do I change the image in the masthead to a custom image?
thanks
Hi I m,
you can simply use the Theme Editor for that. Just go to System Administration -> Portal Display -> Theme Editor.
In your own Theme, section Portal Masthead, you will find "URL to Branding Image".
Hope this helps,
Robert
PS: You can also check those links for more info:
http://help.sap.com/saphelp_ep60sp2/helpdata/en/f4/bb7a3b688d3c1de10000000a11402f/frameset.htm
and
Changing the look and feel of the portal
Similar Messages
-
How to edit a copy of the masthead iView
Hi,
I downloaded a copy of the masthead iView (com.sap.portal.masthead) in NW studio and I want to change the .jsp files by swapping the logo and the welcome text (shoud go to the right instead of left).
This is very easy to change in the JSP file, but somehow my NW studio doesn't allow me to make changes to the file.
How can I edit the import (from par) project?
rgds
-DanielHi Daniel
Did you download the com.sap.portal.masthead.par.bak file from this location.
System Administration >Support>Portal Runtime-->Browse deployment >WEB-INF>deployment>temp>com.sap.portal.navigation.masthead.par.bak
Import this file into NDS and it is advisable to change the sap to your company.
Hope this is clear.
Regards
Senthil -
How to change the masthead logo image ?
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>
yoelHi 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
MastHead Change & Portal Desktop
OR if u want to customize the par file refer this
Masthead logo changes thru PAR file(com.sap.portal.navigation.masthead.par)
Regards,
Tamil K -
Collapse the Masthead iview - recalculation innerpage frame
Dear all
we implemented an coding to collapse the Masthead iview by clicking a icon in the page toolbar iview. The remove of the masthead iview works as expected.
Now , the innerpage will be enlarged, but a recalculation of the frame on the bottom seems to be needed. The bottom half of an report will be cut off. We tried to adapt the height setting of the iview and the inneriview (FIX, Fullpage, automatic). Unfortunately, without successes.
Can someone provide an suitable how to guide or only the java script function?
Thanks in advanced!
Best regards
BRhi,
I dont know why you miss the toolarea iview. But to bring it back, you can upload com.sap.portal.navigation.toolarea.par which is found under
\usr\sap\<SID>\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.navigation.toolarea\private\lib.
You can upload from sap ide and create a iview out of it and finally add it to the default framework page. This should work fine.
Regards,
Ganesh N -
Need to add a link to the masthead area of the Portal
Hi
I need to add a link to the masthead area of the portal. That link needs to be able to print the content of the current page.
Ihave downloaded the com.sap.portal.navigation.masthead into the NWDS.
Can anybody please let me know where exactly to modify the code.
i am guessing i may need to use window.print() to print the page.
Thanks
Sharath
Thanks
SharathStep 1: Adding new link in the masthead
1. Rename the par file to your own namespace and import the PAR using eclipse
2. To add your link - modify HeaderiView.jsp appropriately
3. Build the PAR and export using Eclipse
Step 2: Create an iView
1. Content Administrator -> Portal Content -> Select the folder in which you need to create the masthead iView. Right click on the selected folder and "Select New From PAR" -> iView
2. Select the PAR file name created by you in Step 1 a
3. Choose "default" in Portal Component Selection
4. Provide the properties for the iView and save
Step 3: Modify Portal Masthead
1. Add the iView created in Step 2 to the Framework Page of your application
2. Remove the existing Masthead iView from the framework page and add iView created in Step 2 in the framework page.
3. Note that the position should be the same where the previous masthead is removed.
Logoff and logon with the user who is assigned the framework page - you should be able to see the new masthead with links
Incase you are changing the default framework page and default masthead ensure that you have a backup so that you can revert. -
HI ,
I want to change the masthead inside the portal , can anyone help me doing that .I have found the par file and imported that into the NWDS.Please tel me how to change the Links in the masthead.
Cheers
SaraHi,
Just refer to these Links.
How to Update Function Link Text in Portal MastHead
Horizontal separator line between masthead and tool area
Masthead and Runt Time Logon
Background color of Masthead Function Area
Masthead urgent
MastHead modification
New functional links in portal masthead with further menu list options
how to place the modified masthead in place of default masthead in framewor
<b>Step:-</b>
1) import the Par file .
2) Copy the jar file from the Private folder( inside the par ) to the lib folder in the project inside the NWDS.
3) Change whatever you wish like .(refer to the threads)
4) Depoly the Par.
5)once the par is deployed , create an iview out of that par.
6) If you want to change your masthead.assign the iview to the framework( i would recomend that u create your framework ( copy the original one )and then assign the ivew to it .
Thanx
Pankaj -
Problem in EP while changing the layout of the default portal page
i am working with EP7.in this i encountered a problem when i tried to change the layout of the default framework page.
i created a new layout in NWDS and uploaded it to portal.then i copied the default framework page to separate folder (my personal) and assigned the newly created layout and set that page as my default framework page.
but whenever i log into the portal or refreshes the page the top level navigation iview merges (overlaps) with the masthead iview and comes back to the assigned position after some time.i tried many ways to solve this problem but i couldnt.
if anybody have any idea about it please share.....
regards,
karthickHi tamilventhan K
Please have a look at SAP Note No. 687485.
Hopefully this should solve your problem.
Cheers.
Award points for helpful answers:-) -
Change the text of the personalization option for English language
We would like to change the spelling of how the personalize option on the tray is showed in English. I guess there must be some kind of localization file somewhere, but I cannot find it.
I tried searching for "com.sap.portal.iview.ShowPersonalize", and found reference to some java classes, but have not been able to find which jar-file.
Do anyone have a tip where I can look for it? Or if this is a good idea?Hi Reidun,
<br>
The personalize option is shown in the masthead.
To Change the spelling of it we need to change the masthead par file.<br>
<br>
1) Deploy the <i>masthead par</i> file into the NWDS(take the original par and rename it for saftey reason then deploy it.)<br>
<br>
2) to change the spelling simply open the file <b>headeriView_nls_en.properties</b> and edit the value of <b>PERSONALIZE_TEXT<b>.<br>
<br>
3) Deploy it into the portal and create an iview for it, then add this iview to the framework page make the old masthead iview disable and change the layout like moving the new iview to the place of original masthead iview.
<br><br>
4)refresh the browser.<br>
Please, Let me wether u r problem was solved or not.<br>
<br>
MrChowdary
Message was edited by:
Mr Chowdary -
Language dropdown in Masthead iView
Hello All,
Fllowing is the weblog which has described about how to show language dropdown for anonymous users.
SP12/SP20: Portal Localization for Anonymous Users
My requirement is:
Even though user is authenticated user, we want to show the language dropdown to change the user language.
I know we can change this user language from personalization link if user is authenticated. But, we want dropdown to be shown on the masthead iView.
I have changed masthead iView JSP application and i was able to display the dropdown even though user is authenticated.
On dorpdown element, we have onSelect event and on this event, I am calling one Javascript function called, "onSelect_Language". Somehow this function is not being called.
For testing, I have written code to show alert only.
So, it should show the alert and i can confirm whether function is being called.
But, i am not getting any alert.
Can you please help me?Hi,
The same type of drop down we can set it in the logon page easily.
Make it available in logon page and try to change it to masthead using the same code.
I never tried.
We created the below fuction for different reason check it once may be usefull
Create a javascript/ directory in the par structure
Add the file customBranches.js in this directory
Edit the file PORTAL-INF/jsp/HeaderiView.jsp in order to call the Branch Dropdown.
EPCM.subscribeEvent("urn:com.sapportals:navigation", "Navigate", pop);
Check this sample refresh function with alert.
_refreshPage: function() {
try {
frameworkSupport.refreshContentArea();
} catch(e) {
document.location.reload()
Thanks and Regards,
gopal.sattiraju. -
Chnaging the masthead.par
Hi,
I want to change the masthead.par by downloading the file to NWDS and Redeploy it to Portal.
Do any one has the documentation or links for doing this like changing the XML file and etc.
How to guide or any documentation for any par file is ok for me.
Thank You,
Murali.Hi Murali
Open the portal prespective in NWDS.Import the par file by file@import@par.
Open the Dist@PORTAL-INF folder. You can see the JSP folder and inside this you can make changes.
For each component you create component name,config and profile will be there in the portalapp.xml. You can do this easily from Components tab in portalapp.xml.Add the securityZone and change it to high_safety if you are not able to create the iview after uploading.In the component profile you can set the properties for the iviews.
Use this link for editing portalapp.xml and follow the steps described
Portalapps.xml
http://help.sap.com/saphelp_nw04/helpdata/en/41/e5a942ad920c31e10000000a1550b0/frameset.htm
Make sure that the jar files are added(masterheadcore &masterheadapi.jar)before deploying to server.
Regards
Geogi -
How to change the text "form of address" while Create User in EP6.0??
Hi All,
We are using NDS 2.0.9 & EP6.0.
I have the following doubts:
1) I have to change the text <b>Form of Address</b> which comes when we <b>Create User</b> in EP.
Can any1 please let me know how to change that text? Is there any .par file? What is the name of .par file (if any) which is used to <b>Create User</b> in EP6.0??
2) I am getting the value of this <b>form of address</b> by <b>request.getSalutation()</b> in PDK, but this value is coming in the <b>Welcome Message</b> in the masthead. I tried to change the masthead by changing the corresponding code, but i am getting a runtime error. Is there any other method of making this salutation value <b>NOT</b> appear in the masthead welcome message?
Please help me in this regard. Thanks in Advance. Bye.
<b>Regards,
Sai Krishna.</b>Hi Sai Krishna,
within HeadiView.jsp, you'll find this code fragment:
if(salutation != null) {
return java.text.MessageFormat.format(welcomeClause, new Object[] {firstName, lastName, salutation}).toString();
} else {
return java.text.MessageFormat.format(welcomeClause, new Object[] {firstName, lastName, " "}).toString();
Just delete the first part and always use the second:
return java.text.MessageFormat.format(welcomeClause, new Object[] {firstName, lastName, " "}).toString();
This will delete the salutation without errors
Hope it helps
Detlev
PS: For both solutions, 1. and 2., think of it: These workarounds will be overwritten witch patches / maybe hotfixes. -
Reloading the Masthead.
Hi All,
I have a requirement where i need to reload the Masthead iView when the TLN iView is loaded. There are custom iView for both masthead and TLN. The whole window / browser should not be reloaded, only the masthead needs to be reloaded. Anyone have any idea about how to do this.
TIA
Regards,
Nishant SinghHi Raghavendra,
I think you didnt understood the requirement. What i needed to do is, put some piece of code either in TLN jsp or innerpage jsp so that i can reload the masthead(only). My requirment is to load the masthead again, once the TLN is loaded. This has to be done with all the users and roles.
I tried with " window.location.reload(); " and " go.history(0); ". But both of these are not working for my requirment caz it loads the entire window again. And i have to reload the Masthead only.
Regards,
Nishant Singh -
How to change the URL of a URL-iView over Code ?
Hi all,
i am getting started with the Portal-Application-Developement and want to change the URL of an URL-iView on runtime with java-code.
i have read the context and can get the Property url with this statement.
endContext.getProfile().getProperty("url")
But if i change this property, nothing is done.
endContext.getProfile().setProperty("url", "http://www.yahoo.com");
Where is my fault.
Thanks for help.
Regards JürgenHi,
the context is of Type IPortalComponentContext.
I cant find no method getParameter() at the context or the profile.
The methods to read the properties of the URL-iView are
context.getProfile().getProperty("url")
context.getProfile().getAttributeValue("url")
But if i want to set (change) this attribute, nothing is done.
Regards Jürgen -
How to change the text of a standard iview
Hello,
We are implementing ESS on ERP 2005 in an Irish client, and there is no Irish version of the webdynpro iview to change Personal data. So we follow the IMG docu and use the GB iview and works fine.
The problem is that the text on one of the fields comes as "Nat. Ins. No.", and that is an English expression. Here they use something called "PSS number". No need to say that Irish are not too kin on using English expressions.
So the question is: how can I change that text without having to create a new iview?
Please help.... Thanks,
AndresHi Andres,
If you want to change the text in webdynpro iview:
1. Open the package Explorer view and expand your src/packages
2. Copy the .xlf file (___.wdview.xlf) which contains the field "Nat. Ins. No." and rename it (add "_en" before ".xlf" or ISO standard for irish english)
3. Translate the renamed "_en.xlf" files.
Double click the xlf file and it is displayed in S2X editor.
On the tab header, change the source language to British-English. (There is only American English and British English options in the source language)
Switch to tab "Resource Text" and translate "Nat. INs. No. to PSS number.
Had it been any other language, it is bound to work for sure. However i find no Irish English in webdynpro source options...
Hope this helps
Sumathi -
Change the default name of a personalizable attribute of an JDBC Iview
Hello All,
I created have an IView from JDBC Stored Procedure IView Template and the name for the value of the parameter was autogenerated as 'function_params_value1'. The iView is personalizable and so are the parameters. When the iView is placed on the page and personalized by an end user, the parameter value name shows up as 'function_params_value1'.
Is there a way to change the name of the value attribute to say for ex..'StoreId' which is the actual parameter name in the stored procedure.
Thank you,
AparnaHi Aparna,
Check the additional info for the function parameters in the following link:
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/a2/b59589e5a942838247493b255d5981/frameset.htm">http://help.sap.com/saphelp_nw04s/helpdata/en/a2/b59589e5a942838247493b255d5981/frameset.htm</a>
Hope it gives you some idea.
Regards,
Vivekanandan
Maybe you are looking for
-
I am trying to run PASW with Lion.
I am trying to run PASW with Lion. I've found a patch that allows it to run, except that it will not do graphs. These always produce this warning: 'Could Not Start Java Virtual Machine. Chart will not be drawn." Anyone know of another patch for thi
-
Error reading when trying to download ipod mini update
I am trying to download an update for my mini. the following message comes up "error reading setup initialization file" Can anyone help me understand what this means? My ipod mini has been "playing up" the battery doesn't seem to last very long, shut
-
How do I create a hyperlink (youtube) in powerpoint
How do I create a hyperlink (to youtube) in Powerpoint ( Mac Book Pro)
-
Jsp file names lowercase?
Hello, the Sun guidelines "Code Conventions for the JavaServer Pages Technology Version 1.x Language" state that jsp filenames should always start with a lowercase letter. Java class names start with uppercase letters. Can anyone tell me why jsp file
-
Preserving play data with fresh install
Due to a catastrophic error and probably too much trying to repair it without assistance, I'm forced with the prospect of uninstalling iTunes (9.0) and reinstalling 9.2. However, I've accumulated 7 years of playlists and play data that I'm unwilling