Adding a Banner above header
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Adding a Banner above header
I need to add a banner above the Windchill header for our Unclassified installation of Windchill. Because the Windchill 10.2 header is so small, I can't add it to the image or it will be covered up any time we need to post an alert. Here is an example of what I'm trying to do. I can find the style for the image, but not for the entire page.
Any ideas where I might find the correct style of entry to accomplish this task?
Thanks.
- Labels:
-
Other
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Document - CS28193
Refer to Windchill Customization Guide sections "Adding Custom Code to all Windchill Client Architecture Pages" and "System Banner Alert Message".
Put the following line code into <WT_HOME>\codebase\netmarkets\jsp\util\begin_custom.jspf
<%@ include file="/netmarkets/jsp/util/banner_custom.jspf"%>
Write the message with html format into the following files:
English language: <WT_HOME>\codebase\netmarkets\jsp\util\banner.txt
Simplified Chinese: <WT_HOME>\codebase\netmarkets\jsp\util\banner_zh_CN.txt
Traditional Chinese: <WT_HOME>\codebase\netmarkets\jsp\util\banner_zh_TW.txt
The file banner*.txt encoding should be UTF-8.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Tried that. It doesn't help in version 10.2. The banner text is placed in the middle of the image, not above it as it was with V9.1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
We had same problem, but solution I was not able to find, so we moved our banner to left side:
<style type="text/css">
.banner {position:relative;
text-align: center;
width:300px;
top:5px;
left:180px;
border:1px
solid black;
padding:0px;
color: #000;
font-size:80%;
padding:0px;
background-color:#00BFFF;}
.smallfont {color: #000; font-size:60%;}
</style>
<div class="banner">
<b>System</b>
</div>
