cancel
Showing results for 
Search instead for 
Did you mean: 

Customisation of the Portal Masthead

Former Member
0 Kudos

Hi all,

I have a requirement -

1.To display the company logo to the left of the "Welcome message"

2.To shift the Search textbox and the associated button in the Tool Area from the "left" of the screen to the "right"

Can someone tell me if this is possible by editing my Theme using the Themee Editor?

or Should I import the Masthead.par file into NWDS and then modify the HeaderIview.jsp??

If it is the second solution that I need to follow.. will it be right to edit the code in bold to achieve requirement 1 (Giving the path to my company logo)-


<b><TD class="prtlHeaderNotch" nowrap><img src="<%=themeRootURLPath%>/../common/1x1.gif" class="prtlHeaderNotchImgWidth"></TD></b>
			<TD nowrap class="prtlHdrWelcome"><%=GetWelcomeMsg(componentRequest, welcomeClauseStr)%></TD>

How can I achieve requirement 2?? Which files do I need to modify?

Once I modify this, what steps do I need to take, to get my changes working on the portal?

Regards,

Ashwini

Accepted Solutions (1)

Accepted Solutions (1)

Saravanan_SD
Advisor
Advisor
0 Kudos

Hi Ashwini,

1) After modifying the image, place the new image in the same path of the server. Threads provided by Yoga will give all the necessary steps to follow in modifying the par.

2) The actual par for Toolarea is "com.sap.portal.navigation.toolarea.par".

Modify the ToolAreaiView.jsp. You can find it under the PORTAL-INF/jsp folder. Modifying the alignment is enough to achieve your second requirement.

In the table tag add <b>align= "right"</b> and then deploy it back into the server. Remember to include the jar files in the <b>lib</b> folder of the project.

Hope it helps.

Regards,

Saravanan

Former Member
0 Kudos

Thanks Saravanan for the correct inputs..

Regards,

Ashwini

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Ashwini,

To display the logo to the left of the welcome area, you will have to import the com.sap.portal.navigation.masthead in your nwds, remember to change the file name and then you will have to cut and paste the associated code related to logo before the welcome area between the <table> tags.

for your 2nd question, I never tried it but I think you can try it by importing into nwds..anyways for check for others opinion...

Hope this helps u to some extent.

Regards

Lekha

Former Member
0 Kudos

Hi Ashwini

You cant do this using portal themes. You have to customize the portal masthead(com.sap.portal.navigation,masthead).

There will be three jsp files in masthead.

HeaderiView.jsp, LogInRedirect.jsp, LogOffConfirmMsg.jsp.

In that you have to modify HeaderiView.jsp.

Check the links for more information.

Regards

Yoga