Chapter 15: Changing the Portal’s Look and Feel  Editing styles.xml

Chapter 15: Changing the Portal’s Look and Feel

Introduction

The most basic co-branding is accomplished by changing the logos, icons, colors, and visible text in Portal Interface. These attributes are specified in styles.xml and messages.xml that you copied to the new co-brand directory and in css.css that you copied to the new co-brand style subdirectory.

The settings you change in these resource-specific files override the settings in the onepage default files located in \onepage\fw\baseApps (or /onepage/fw/baseApps on UNIX). You can also make changes to the master configuration file global.properties.xml, located in

NoteEnter color values as hexidecimal code rather than color names; for example, “FFFFFF” is white. Use a Web-safe color chart for reference, such as the one located or.

When you replace Enterprise Portal’s default images, icons, or tabs across all resources for an installation, put the new graphics in the appropriate subdirectory on %SYBASE%\EAServer\Repository\WebApplication\onepage\sy_images Windows and in $SYBASE/EAServer/Repository/WebApplication/onepage/sy_images/ on UNIX.

To replace the images only for a particular resource, create an images directory within the co-brand’s subdirectory and put a copy of the new files there. When you edit styles.xml, you reference the location from which you want that co-brand’s images pulled.

Figure 15-1: Portal Interface style attributes





Copyright © 2004. Sybase Inc. All rights reserved. Editing styles.xml

View this book as PDF