Sun Java System Portal Server 7.1 Developer Sample Guide

Changing the Logo (Image) in the Banner Header

The logo image is defined in the themes in the display profile. The related theme properties are:

brandImage

The brand image on the left of the header.

brandImage2

The brand image in the center of the header; if there’s no need to have the second image, then use spacer.gif.

brandImageBgColor

The background color for the left image file.

brandImage2BgColor

The background color for the center image file.

brandImageWidth

The width of the left image file.

previewImage

The image that is displayed in the Theme/preset Themes page.

ProcedureTo Change the Logo (image) in the Banner

  1. Log in to the Sun Java System Portal Server management console.

  2. Download the display profile XML fragment.

  3. Modify the relevant theme properties and upload the display profile.

  4. Copy the new image into PortalServer-base/web-src/images directory.

  5. Run PortalServer-base/bin/psadmin redeploy --adminuser amadmin --passwordfile passwordfile --portal portal-ID command to deploy the new image.

  6. Reload the Desktop to verify the change.