<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Broadcasting in the Banner in Windchill</title>
    <link>https://community.ptc.com/t5/Windchill/Broadcasting-in-the-Banner/m-p/297631#M34891</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The easiest method is just to replace the images PTC uses on the banner:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Windchill 9.1&lt;/P&gt;&lt;P&gt;Edit &amp;lt;wc.home&amp;gt;/codebase/netmarkets/images/header.gif but fade into whatever color PTC uses in the header.&lt;/P&gt;&lt;P&gt;Edit &amp;lt;wc.home&amp;gt;/codebase/netmarkets/images/logoWC.gif to be empty and transparent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jan 2012 21:56:26 GMT</pubDate>
    <dc:creator>MatthewKnight</dc:creator>
    <dc:date>2012-01-20T21:56:26Z</dc:date>
    <item>
      <title>Broadcasting in the Banner</title>
      <link>https://community.ptc.com/t5/Windchill/Broadcasting-in-the-Banner/m-p/297630#M34890</link>
      <description>Hi - does anyone know how to Broadcast in the Banner/Header in Windchill so you should be able to show your ovn text/picture? I have head that this should be possible......Thanks :-)Peter</description>
      <pubDate>Wed, 02 May 2018 15:58:56 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Windchill/Broadcasting-in-the-Banner/m-p/297630#M34890</guid>
      <dc:creator>pjg</dc:creator>
      <dc:date>2018-05-02T15:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Broadcasting in the Banner</title>
      <link>https://community.ptc.com/t5/Windchill/Broadcasting-in-the-Banner/m-p/297631#M34891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The easiest method is just to replace the images PTC uses on the banner:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Windchill 9.1&lt;/P&gt;&lt;P&gt;Edit &amp;lt;wc.home&amp;gt;/codebase/netmarkets/images/header.gif but fade into whatever color PTC uses in the header.&lt;/P&gt;&lt;P&gt;Edit &amp;lt;wc.home&amp;gt;/codebase/netmarkets/images/logoWC.gif to be empty and transparent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2012 21:56:26 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Windchill/Broadcasting-in-the-Banner/m-p/297631#M34891</guid>
      <dc:creator>MatthewKnight</dc:creator>
      <dc:date>2012-01-20T21:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Broadcasting in the Banner</title>
      <link>https://community.ptc.com/t5/Windchill/Broadcasting-in-the-Banner/m-p/297632#M34892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: start;"&gt;Windchill 9.1 Cusomizers Guide says:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: start;"&gt;&lt;STRONG&gt;Turning on the alert banner feature&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI style="text-align: start;"&gt;Put the following line of code into windchill\codebase\netmarkets\jsp\util\begin_custom.jspf: &lt;BR /&gt;&amp;lt;%@ include file="/netmarkets/jsp/util/banner_custom.jspf"%&amp;gt;&lt;/LI&gt;&lt;LI style="text-align: start;"&gt;Restart Tomcat.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: start;"&gt;&lt;STRONG&gt;Displaying the alert message on the top of Windchill UI pages&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Write the alert message with html format into the following file: &lt;BR /&gt; windchill_home\codebase\netmarkets\jsp\util\banner.txt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jan 2012 12:29:01 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Windchill/Broadcasting-in-the-Banner/m-p/297632#M34892</guid>
      <dc:creator>JørnAHansen</dc:creator>
      <dc:date>2012-01-22T12:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Broadcasting in the Banner</title>
      <link>https://community.ptc.com/t5/Windchill/Broadcasting-in-the-Banner/m-p/297633#M34893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, that's awesome&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2012 01:37:06 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Windchill/Broadcasting-in-the-Banner/m-p/297633#M34893</guid>
      <dc:creator>MatthewKnight</dc:creator>
      <dc:date>2012-01-26T01:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Broadcasting in the Banner</title>
      <link>https://community.ptc.com/t5/Windchill/Broadcasting-in-the-Banner/m-p/297634#M34894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I knew about begin_custom.jspf and have used that to display messages, but I didn't know about banner_custom.jspf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this really replace the banner though? It looks like it just moves the OOTB banner down (same as inserting text directly into begin_custom.jspf)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2012 17:08:06 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Windchill/Broadcasting-in-the-Banner/m-p/297634#M34894</guid>
      <dc:creator>MatthewKnight</dc:creator>
      <dc:date>2012-01-26T17:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Broadcasting in the Banner</title>
      <link>https://community.ptc.com/t5/Windchill/Broadcasting-in-the-Banner/m-p/297635#M34895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No it doesn't replace the "header" section of the page - it just adds a banner above it as you have observed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2012 17:19:30 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Windchill/Broadcasting-in-the-Banner/m-p/297635#M34895</guid>
      <dc:creator>JørnAHansen</dc:creator>
      <dc:date>2012-01-26T17:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Broadcasting in the Banner</title>
      <link>https://community.ptc.com/t5/Windchill/Broadcasting-in-the-Banner/m-p/297636#M34896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would never use PTC's recommendation on this as documented. It performs with issues sometimes. Here is the output from my codebase/netmarkets/util/begin_custom.jspf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YOU DO NOT NEED TO RESTART. Clearing browser cache and it shows immediately on a hot live system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seen no performance problems due to this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;%@ page import="java.io.BufferedReader,java.io.File,java.io.FileReader,java.io.IOException,wt.util.WTProperties" %&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;%&lt;/P&gt;&lt;P&gt; // THIS CODE HANDLES DISPLAYING MESSAGE TO END USERS&lt;/P&gt;&lt;P&gt; // WHILE THE SYSTEM IS RUNNING - I.E. TO PROVIDE WARNING OF UNEXPECTED SHUTDOWN&lt;/P&gt;&lt;P&gt; // OR TO DISPLAY A BASELINE OF CONFIGURATIONS UNDER GOING DEVELOPMENT AND TESTING&lt;/P&gt;&lt;P&gt; // DO NOT MAKE CHANGES TO THIS CODE AS THIS AFFECTS SYSTEM CONFIGURATION MANAGEMENT&lt;/P&gt;&lt;P&gt; // PLEASE CHANGE THE TEXT CONTENT OF THE BANNER.TXT FILE TO CHANGE THE MESSAGE.&lt;/P&gt;&lt;P&gt; //&lt;/P&gt;&lt;P&gt; // THE PTC CUSTOMIZERS GUIDE USES DIFFERENT CODE THAT REQUIRES TOMCAT TO BE RESTARTED&lt;/P&gt;&lt;P&gt; // WHICH IS A POOR DESIGN. &lt;/P&gt;&lt;P&gt; // &lt;/P&gt;&lt;P&gt; // TO HAVE NO BANNER MESSAGE APPEAR, ELIMINATE OR COMMENT OUT &lt;/P&gt;&lt;P&gt; // THE TEXT BETWEEN THE &amp;lt;DIV&amp;gt;THIS TEXT&amp;lt;/DIV&amp;gt;&lt;/P&gt;&lt;P&gt; // ELEMENT IN BANNER.TXT&lt;/P&gt;&lt;P&gt; //&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt; // Contact: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:david.demay@trw.com"&gt;david.demay@trw.com&lt;/A&gt;&lt;SPAN&gt; 04/08/2010&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; //&lt;/P&gt;&lt;P&gt; BufferedReader input = null;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; try &lt;/P&gt;&lt;P&gt; {&lt;/P&gt;&lt;P&gt; WTProperties trw_wt_properties_obj_instance = WTProperties.getLocalProperties();&lt;/P&gt;&lt;P&gt; String codebasePath = trw_wt_properties_obj_instance.getProperty("wt.codebase.location");&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; input = new BufferedReader(new FileReader(new File(codebasePath + "/netmarkets/jsp/util/banner.txt")));&lt;/P&gt;&lt;P&gt; String line = null; &lt;/P&gt;&lt;P&gt; while (( line = input.readLine()) != null) &lt;/P&gt;&lt;P&gt; {&lt;/P&gt;&lt;P&gt; out.println(line); // print file being read in at runtime to client output on browser, etc.&lt;/P&gt;&lt;P&gt; }&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; out.flush();&lt;/P&gt;&lt;P&gt; }&lt;/P&gt;&lt;P&gt; catch (IOException error) { &lt;/P&gt;&lt;P&gt; // do nothing to print error message in client window - you'll just not see banner&lt;/P&gt;&lt;P&gt; error.printStackTrace(System.err); // to tomcat log&lt;/P&gt;&lt;P&gt; } &lt;/P&gt;&lt;P&gt; finally {&lt;/P&gt;&lt;P&gt; input.close();&lt;/P&gt;&lt;P&gt; }&lt;/P&gt;&lt;P&gt;%&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;%-- PLACE ADDITIONAL JSP, JAVA, HTML, OR JAVASCRIPT CODE DOWN HERE AS NEEDED --%&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2012 17:23:44 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Windchill/Broadcasting-in-the-Banner/m-p/297636#M34896</guid>
      <dc:creator>ptc-3143537</dc:creator>
      <dc:date>2012-01-26T17:23:44Z</dc:date>
    </item>
  </channel>
</rss>

