FP2002: Cannot Change Colors in Publish Log (291093)



The information in this article applies to:

  • Microsoft FrontPage 2002

This article was previously published under Q291093

SYMPTOMS

You cannot change the colors used by the Publish Log feature in FrontPage.

CAUSE

Colors used by the Publish Log feature are hard-coded in FrontPage.

WORKAROUND

Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. Because the Publish Log is an HTML (Hypertext Markup Language) file, you can open it in FrontPage, save it to a web, and then modify the colors.

NOTE: Any changes you make to the Publish Log are for this copy of the file only. When you next publish a web, a new Publish Log file will be created and the colors will be reset to their default settings.

To modify the colors in the Publish Log, follow these steps:
  1. Open a Web and publish it.
  2. When the Web site published successfully dialog box appears, click the Click here to view your publish log file link.
  3. When the Publish Log opens in Internet Explorer, click the Edit with Microsoft FrontPage button on the Standard Buttons toolbar.
  4. When the Publish Log opens in FrontPage, click Save As on the File menu, and save the page to a FrontPage Web.
  5. To modify the colors, follow these steps:
  1. On the Format menu, click Style.
  2. Select the Style you want to modify. For example, select the tr.confirm style for Confirmations or the tr.rename style for File Renames.
  3. Click Modify.
  4. Click Format and then click Border on the menu that appears.
  5. Click the Shading tab.
  6. In the Fill section, from the Background color and Foreground color lists, select the colors you want.
  7. Click OK three times.

MORE INFORMATION

The Publish Log feature in FrontPage 2002 creates an HTML page at the following location:

%TEMP%\FrontPageTempDir\publish_log.htm

This file reports about the following activities after publishing a web:
  • Publish Starts
  • Folder Creations
  • File Copies
  • File Renames
  • File Deletions
  • Confirmations
  • Warnings
The activities are displayed in different colors to accent the various publishing operations. When you view the HTML source for the Publish Log in FrontPage, the <HEAD></HEAD> section contains Cascading Style Sheet (CSS) code that resembles the following:
<style>
<!--
h2         { font-family: tahoma,arial,serif;font-size:14pt}
p, select  { font-family: tahoma,arial,serif;font-size:9pt}
table      { border-collapse:collapse;border:solid black 1px;width:100%}
td         { border-bottom:solid gray 1px;padding:5px;font-family:tahoma,arial,serif ; font-size: 9pt}
tr.start   { background-color: #90ee90; font-weight: bold }
tr.finish  { background-color: #90ee90; font-weight: bold }
tr.create  { background-color: #90ee90}
tr.confirm { background-color: #b0c4de}
tr.copy    { background-color: #98fb98 }
tr.rename  { background-color: #eee8aa }
tr.delete  { background-color: #ff6666 }
tr.warn    { background-color: red; font-weight:bold }
tr.debug   { background-color: #dcdcdc }
td.date    { }
td.time    { }
td.action  { width:100%}
-->
</style>
				
For additional information about new FrontPage 2002 features, click the article number below to view the article in the Microsoft Knowledge Base:

281595 FP2002: New Features In FrontPage 2002


Modification Type:MajorLast Reviewed:6/18/2005
Keywords:kbprb KB291093