Masthead customization in EP7.3 AFP
Hi
I need to customize the Masthead of AFP in EP7.3. I have created one web module project by importing the file com.sap.portal.navigation.afp.masthead.war downloaded from server. This code has been built and downloaded successfully.
After looking tnto the code in masthead.jsp, I was expecting some css files present in the project folder structure. But I can't find any there.
<td class="logobar_container" id ="logobar_container">
<div id ="logo" class="logoImg"></div>
</td>
I am not able to locate the class referred in td and div tag. Could anyone let me know where to find these definitions?
Kind Regards
Kaushik
Hi Detlev,
I want to modify the default value 100% to 80% of AFPBodyWidth of class BODY in the css file AFP_<browser>.css.
I could not find this property in portal theme editor. I tried to change this value in the following css file:
com.sap.portal.design.portaldesigndata/themes/portal/<theme_name>/AFP/AFP_ie6.css But it is not reflecting during runtime. I know this is not the right way of editing css. But I tried to check it.
Where Can I change this property value.?
Regards,
Eben Joyson
Similar Messages
-
Portal 7.3 masthead customization - How to remove Logoff dialog box "Are you sure you want to logoff?"
I have recently upgraded our portal to 7.3 sps10 and we are using the Ajax framework
I have a requirement to Remove the Logoff Dialog box "Are you sure you want to logoff?"
I am able to Import masthead.war into NWDS and get the project ready for development with the appropriate jar and libraries.
I am able to deploy the project also. I need help finding How to turn this dialog box off and just log the user off. I was able to accomplish this in Classic frame work page HeaderiView.jsp.
I have looked at afpmasthead.org.sj and masthead.jsp. I am not a js/jsp developer.
I can see the logoff dialog box being created but I am having trouble finding the logoff code.
Please advise me on the code changes required to remove the Logoff dialog box "Are you sure you want to logoff?" from the Ajax framework.
Any help on this matter would be greatly appreciated.
Thank you
SarahThank you Troy for your Helpful Threads.
Problem Solution:
Followed the thread on How to download and change AFP Masthead on SAP Portal 7.3
Located the file which contains the logoff code from thread http://scn.sap.com/thread/3265584
The File with the Logoff coding in it is a Javascript file afpmasthead.js
Identified logoff code without dialog box using this thread https://scn.sap.com/thread/3307601
NovaDialogBox.performLogout(); (perform logoff)
I was able to remove the Logoff dialog box Do you really want to logoff? And replace it with logging the user off.
afpmasthead.js All the code is on 1 line, To fix this go to -->Source -->Format
Comment out the following lines of code and replace with logoff code
logoffLinkElement.onmouseup= function(aS) {
logoffLinkElement.onmouseup= function(aS) {
NovaDialogBox.performLogout();
Sarah -
Masthead customization problem....
Hello All,
I am facing problem with masthead Customization. I hv included one image, three external links in masthead area using par file customization through NWDS.
Now at the same time, I was trying to customized masthead area by using theme editor to remove the underlines displyed on the external links.
However, my changes done are not reflected in masthead area after logout for users ?
Will I be able to still use theme editor after doing customizing with the help of par file ?
I hv tried removing chaches, logged out and logged in several times, bu no luck ?
Pls, help !! Thanks for time and your inputs. Points assured.
Best Regards,
Anil KumarHi Anil,
If you didn't changed class tags from html there should
be no problem. There are tags :
<TD nowrap class="prtlHdrSep"> </TD>
<TD nowrap class="prtlHdrWelcome"
<TD class="prtlHdrBrandImgContainer"
etc.
I changed my masthead a lot, it is completely different
from original but since I didn't change class tags from
tables I can still change some settings from theme
editor.
If you just want to remove underlines from your custom links try adding this to your jsp :
<style>
a.customlink {
text-decoration: none;
</style>
and add your links like :
<a href="http://www.sdn.sap.com" class="customlink">my test link</a>
Regards
Abdul. -
Hi Experts!!
I am trying to modify the masthead.
I am following
Portal Branding - Go beyond portal themes
I want to capture the company logo on the left column and the masthead iview on the right column.
Could anyone let me know how to remove the Collapse try and the options menu that appears on the top of the iView.
Also if there are any other easy ways or suggestion on customizing the masthead please do let me know.
Thanks for your help
Regards
PriyaHi Priya,
You can put the images in the <b>image</b> folder of the project. But make sure in referring the correct path and take care on the image size.
Check these threads to get more idea.
<a href="http://">https://www.sdn.sap.com/irj/sdn/thread?forumID=41&threadID=45724&messageID=462375</a>
<a href="http://">https://www.sdn.sap.com/irj/sdn/thread?forumID=41&threadID=41761&messageID=414427</a>
In case of theme editor, it is jus a change in the URL path of image.
Hope it helps.
Regards,
Saravanan -
Customization of links in MasheadPar File
hi
In masthead customization ,i cant able to change the color of the links "help", "logoff","Personalization".
default mastheadpar file there is one class is used to change the fontstyle "class="prtlHdrSep"",i didnt find where it is. i created a new class, also applied that class, it doesnot give any effect.how to over come this?
regards,
malinihi Malini,
Try this...
Goto the system admin role
->Portal Display workset
->Theme Editor Page
now if you have customized one select that or take the one like tradeshow
then
->Under Portal masthead
->Function Links
->Font color of functions
here you can change the colors.
well sometimes it happens that you had browsed a picture and this can't be overwritten with the system colors.
then goto paint, create a blank page with the color you want
upload this color. it will work
all the best
[rewarding points appreciated] -
Hi all
now i am customizing the Masthead par file by downloading the relevant par file from the server. after i intergrated the code into NWDS then i started to change the code in the headerIview.jsp in masthead.
now i removed the design bar as well as standard SAP logo(right end) sucessfully.
now i want to place our client in the place of design bar in the masthead.if i want to do the same where will i copy our client logo i mean in which folder in the workspace??
and also let me know where can i change the background color of welcome area and functional areas in the masthead into white color.
if u send with sample code then it is useful.
always i will reward max points.
note: i am following the masthead customization thru par file not from theme .
dont answers to change the logo from theme in portal. i want to change thru par file.
Regards
SunilHi steelman
can u also tell me how to change the background color of welcome and functional area in the masthead into white color.
it is useful if u send the sameple code on this??
for this color change can we change in the CSS file or in JSP file??
if in CSS can u tell me how to do that i mean how to add that
standard CSS file
.activeLink {
font-family:verdana;
font-size:0.7em;
cursor:pointer;
text-decoration:none;
color:rgb(32,75,162);
.activeLink A:link
.activeLink A:visited
how to modify the above CSS code if i want to change the background color of welcome abd fucntional area into white color??
Regards
Sunil; -
Not able to create EAR file for WAR file extracted project
Hi Experts,
I am trying to import a WAR file, make changes to the project and create an EAR file for the same. I am not able to remove import
errors despite of adding required jar files to it.
Also, I am not able to create an EAR file for the same.
I have copied the steps here with screen shots. Below are the steps :
Import WAR file in NWDS 7.3 – Enterprise Portal perspective
Select WAR file to create WAR and EAR project for it.
Project created with import errors. e.g – com.sapportals.portal.prt*
Found jar file from Class – target jar file table.
e.g – for Class com.sapportals.portal.prt.resource.IResource needed jar file is tc~epbc~prt~api.jar
Copied required jar files in WEB-INF -> lib folder.
Configure Build path and Add External jars.
Portalapp file screen shot
I think errors should go now, but they still exist.
Next I right click on WAR project and tried updating related EAR project.
Next, Export EAR file from EAR project.
I have tried both EAR types.
But EAR file is not created.
Please help me in removing the errors.
Thanks in advance :-)
Anubha PandeyHi Anubha,
I feel that you're missing JAR dependencies and hence not able to resolve the above import errors.
Please go through the below thread for the AFP Masthead customization and follow the same:
How to download and change AFP Masthead on SAP Portal 7.3
Hope, this will help!!!
BR,
Anurag -
Portal Logon image not changing
Hi Experts,
I am performing the branding of the portal login screen and have changed the branding-image.jpg and branding-text.gif files to the custom files i nthe Visual Admin - UME provider properties.
I restarted the instance but still the logon screen images are still not changed.
Can some one advise. I do not want to go the par file deployment way as I do not have anytime left in the project. Any ideas?
Regards,
ShobhitHi
Logon Screen Customization in EP7.0
http://help.sap.com/saphelp_nw2004s/helpdata/en/43/fc3ae22adb025fe10000000a1553f7/frameset.htm
use config tool to change the image
http://help.sap.com/saphelp_nw2004s/helpdata/en/0b/50ad3e1d1edc61e10000000a114084/content.htm
refer this thread for more
Re: Portal Logon Page
Regards
Ganesan S -
How to enable change password feature in SAP Netweaver Portal 7?
Hi experts,
I would like to provide a change password link just beside the logout link after user had successfully logged in to Sap Netweaver portal. When user clicks that link, a change password screen sill appear to allow user to change his/her password.
Question:
1) How do i create a link in portal header just beside the logout link?
2) Is there any default change password page for Sap Netweaver Portal that I can use for this purpose?
Thanks,
KennethHi,
To get the change password link beside logout, get the masthead PAR file from portal, import into your NWDS, make the changes in the JSP and upload PAR file back to portal. Search with keyword "Masthead customization" in SDN. You will get many documents to achieve.
SAP has password change functionality available. Chekc the link below for details.
Re: Change Password Functionality
Regards,
Yoga -
Hi
What are broken DC's? We have configured JDI for ESS web dynpro customizations in EP7 and we see about 210 Broken DCs.
Do you think i should proceed with web dynpro customization with brokec dc?
or do i have to reimport the ess .sca files?
Please advice
regards
-madhuHi Madhu,
You can find more information about Broken DCs with following link. Please read this document carefully.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30b7c94e-fc6b-2910-30b8-d34a7b51309e
Mostly its problem with your Track. There are 3 SCs which almost every webdynpro DC uses. these are :
SAP_JEE
SAP_BUILDT
SAP_JTECHS
Please try to import / reimport these SCs into your track.
Its better that you fix the Broken DC problem. frist and them go ahead with your development.
Regards,
Shrikant -
Delete project name of welcome area
hello, i am customizing the masthead bar in ep7, changing the theme, please, somebody knows how to delete de project name of the masthead bar, under the user name in the welcome area. thanks
sorry, probably I have given little information, the name that appears in the bar is the name of the workset, We have installed the navigation zoom and in others diferents worksets not appear this name , but when i click on the workset of the navigation zoom appears this name.
This workset has two folders that hang of and i delete the navigation zoom title, here is very clear, with three pictures
http://www.esnips.com/doc/1395c174-aadb-4095-8458-9355136f3aa3/pictures
thank you -
Hi All,
I have a requirement , where in i have to move the user name (logged) in masthead from the left side of the screen to the right side ( beside Logoff ).
Please help me out on this.
Regards
DivakarHi Diwakar,
Please check the thread for more help
Customizing the masthead
Masthead Customization
Thanks n Regards
Santosh
Reward if helpful !!! -
Unable to customize my portal masthead
Hi,
I am unable to customize my portal masthead.
I can't download the par file like "System Administration -> Support -> Portal Runtime -> Browse Deployment -> WEB-INF -> deployment -> temp (or) pcd -> com.sap.portal.navigation.masthead.par.bak ".
I'm using 2004s, EP7.0 , SP6
Unable to find the com.sap.portal.navigation.masthead.par.bak in the ZIP FOLDER.
Any valuable inputs to solve the prob are most welcome.Are there any blogs ?
thanks in advance.
Regards ,
TilakMastHead Change & Portal Desktop
Regards,
Nitin -
Customise AFP Masthead in NW 7.02 Portal
Would someone tell me how I can remove the "Search In:" and "Advanced" screen elements from an AFP Masthead in a NW 7.02 Portal? I've looked at the Ajax Masthead iview which doesn't seem to have any options to remove these two elements. I've also looked at the Theme Editor which doesn't seem to have a way of just removing the search elements.
Regards,
Tom MaggsHi Tom Maggs,
The simplest way to perform these types of customization is by playing with the properties of these elements. You can reduce the width/height of unwanted elements to 0 (zero). Although these would be present on the masthead but cant be accessed, so this may serve the need.
If you are still unable to get the required, have to check other options.
Regards,
Nishant -
How to customize a NW 7.1 masthead using the NWDI
Hello,
I'm customizing the masthead for our SAP NetWeaver 7.1 Sp05 portals and I'm running into some dependency issues.
I have imported the SAP standard 'com.sap.portal.navigation.masthead.war' package into NWDS into a custom DC, and using NWDI to provide proper dependencies.
The Java import statements in some of the jsp files are as follows:
<%@ page import = "java.util.ResourceBundle" %>
<%@ page import = "com.sapportals.htmlb.*" %>
<%@ page import = "com.sapportals.htmlb.hovermenu.*" %>
<%@ page import = "com.sapportals.portal.prt.session.IUserContext" %>
<%@ page import = "com.sapportals.portal.prt.component.*" %>
<%@ page import = "com.sapportals.portal.prt.service.laf.*" %>
<%@ page import = "com.sap.security.api.UMFactory" %>
<%@ page import = "com.sapportals.portal.prt.service.license.ILicenseService"%>
<%@ page import = "com.sapportals.portal.navigation.*" %>
<%@ page import = "com.sapportals.portal.prt.runtime.PortalRuntime" %>
<%@ page import = "com.sapportals.htmlb.rendering.IPageContext" %>
<%@ page import = "com.sapportals.portal.prt.util.StringUtils" %>
<%@ taglib uri="prt:taglib:tlhtmlb" prefix="hbj" %>
For com.sapportals.htmlb.* I found the FRAMEWORK SC, and com.sap.security.api.UMFactory we found ENGINEAPI, but for all of the other imports I'm not able to find the proper SC dependencies that actually contain these libraries/DCs, which gives me errors.
I tried looking everywhere with no luck, is there somewhere where I can see what SC any particular DC belongs to in this specific NetWeaver version?
I will award points, thanks!
Scott RenaudI've found that I was able to deploy to the portal without the remaining dependencies and it worked.
Also I put it into NWDI and it built with no errors.
Why it goes through while in NWDS I have plenty of errors is beyond me.
Maybe you are looking for
-
How can I update Logic Pro 9.1.6 to 9.1.8?
I have tried to download software from online that Apple directed me to get 9.1.8, but that said I could only update by using the app store. But there is no Logic pro 9 in the app store anymore. Is there a way? It's not even in the purchased tab. (p
-
Why can't I interact with Acrobat Pro XI while it is performing OCR on a set of large files?
I am running Acrobat Pro XI on a beefy MacBook Pro with lots of RAM and CPU to spare. I need to perform OCR on hundreds of pages of text spread across dozens of files. That understandably is time consuming and is not perfectly parallelizable. However
-
Advanced Edit on folders/files not working when using the Document Manager Task Flow. Is any settings/configuration required? I tale it's possibe to make cahnges to security groups/Clasification/account in portal using the docunebt manager task flow.
-
How to run a specific Exe software without admin previlages
Hello, I have installed a software whose shortcut to run is an exe file, whenever i want to run that it asks for admin credentials. I need a method for specific softwares so that i can add admin credentials in registry or Group Policy for the softwar
-
Using 2 ext. drives with a MacBook?
I want to upgrade from LE8 to Logic Studio. My MacBook's hard drive, though, has only 37G of free space. Looking at Apple's system requirements, I get the feeling I may need additional hard drive space for the exs samples and other content. Even thou