cancel
Showing results for 
Search instead for 
Did you mean: 

Modifying Portal Browser Title

Former Member
0 Kudos

Does anybody know how would I go about modifying the default <title> tag for my various portal themes.

The default portal tag is currently <title >SAP Enterprise Portal 6.0</title> I would like to personalize this for my company.

Similar to what the SDN site has done "SDN - The SAP Developer Network"

Thanks,

Luke

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Thanks a lot Nick and Gaurav.

Now I am able to have my customized title by changing the default value present in prtCentral.properties file.

Since this is at server level, the customized title is coming for all the pages. Is there any way to customized the title at page level (not through javascript)? so that I can have different title for each page.

Thanks in advance.

Former Member
0 Kudos

Hi,

Srinivasa: What do you mean by "Is there any way to customized the title at page level (not through javascript)? so that I can have different title for each page." Where in portal do you want to show diff titles..

in the Browser? Do you want something like this- That along with the Title which you gave for browser, you shoudl also be able to see the page on which yoy have clicked inportal i.e. Service Configuration - <Custom-title>...

Actually this is what it is happening now in SP11. Along with the custom title in the browser, we also see the page name clicked.

Is this what you want or something else?

Nick: I checked the service conf which you showed. It can be done from there also. I never knew abt that. Thanx for this update. But one question: After this changes, does this requires a re-start?

and changing this conf effect all the cluster nodes (if i have to change at file level in the properties file, i will have to go to all the servers and changes it and then re-start the server to take effect)?

Hope you understand the question..

Regards

Gaurav Gandhi

Former Member
0 Kudos

Gaurav,

Thanks a lot for your immediate response.

Let me explain why I need this <TITLE> tag to be customized first.

Generally seach engines will look for <TITLE> and <META> tags for seaching. I want to have my customized and different <TITLE> tag inside the <HEAD> tag in each page, so that whenever seach engines look for this my page will be fectched.

But if I change the property alone in prtCentral.properties, then that is the value presents for all the pages in the <TITLE> tag. As you said, though portal displays the page name that is clicked in the browser title, when I see the view source, the <TITLE> tag has the value that I gave in the properties file. The reason for this is, the browser title is changed in Java script.

But I need a way where the value in the <TITLE> tag need to have different values for different pages.

Once again thank you very much for your help in this.

Former Member
0 Kudos

Hi Srinivasa,

Well i do not know how to do this in portal? I dont think this possible. You can try searching in OSS Notes or SDN. If you find something let us know.

Or if Nick knows something abt this, please share..

Regards

Gaurav Gandhi

Former Member
0 Kudos

Thanks Gaurav,

I will search for that and if I get any info about that I will let you know.

Thanks,

Srinivas.

Former Member
0 Kudos

The referenced notes deal with EP6 SP2, for NW04 based portals use the portal itself.

System Administration -> System Configuration -> Service Configuration -> Portal Runtime -> Central Configuration

find and edit the property portal.html.head.title

You don't have a chance to change <META> tags this way.

Nick

Former Member
0 Kudos

Hi Luke

Check the follwing Notes:

695903 - changing of prtcore.jar for changing the browser caption is only valid upto SP2 Patch 4

757210 - From EP6.0 SP2, Patch 5. I feel you are intrested in this one..here are the details.

Symptom

Change Window title of html browser page for Enterprise Portal 6.0

Other terms

Component iView property prtCentral prt configuration header browser

Reason and Prerequisites

Valid from EP6.0 SP2 Patch 5.

Customers may not want to see "SAP Enterprise Portal 6.0" in the title of the portal but change this to their own name.

Solution

The 'window title' which is a header pragma field that is generated by the portal. To allow changing that value, a modification has been done.

To change the window title, you must modify the property file prtCentral.properties. This file is loacted in the following folder on your portal server: ..\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF \portal\system\properties\

Its name has been modified to prtCentral.properties.bak by the portal during startup, denoting that it has been taken into account (props are now in the PCD).

Before making any modification, the properties file has to be renamed to its original name: "prtCentral.properties" without the ".bak". The property defining the window title is: "portal.html.head.title". The value, which will be displayed, can be set there. By default the setting is : "portal.html.head.title=SAP Enterprise Portal 6.0".

The server need to be restarted after the prtCentral.properties modification. Otherwise no change will be visible. The modification has to be done only once in one node. At portal startup it is deployed into the PCD and thus becomes visible / effective at all nodes.

Regards

Gaurav Gandhi

Former Member
0 Kudos

Hi,

I am using SAP EP 6.40, SP 10 SP11, Patch 3.

By default portal displays the browser title as SAP Enterprise Portal 6.0.

I want to display my customized title. Also, I want to add my own <META> tag. Since these will help me to get my site in search engine easily.

I know that the title could be changed dynamically using java script. But that will not solve my purpose. Please let me know whether is there any other possible way to customize the <TITLE> tag and to add <META> tag.

Thanks In Advance

Former Member
0 Kudos

OSS Note #757210 "How-to change the Window Title of HTML pages in EP6.0" should give you the idea.

Hope that helps,

rAimund

Former Member
0 Kudos

you can read the OSS note 695903.

Regards,

Moiz Khan