Customisation of the Portal Masthead
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?
Saravanan Sasikala Duraisamy replied
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.