Customize the Style
Enterprise Archive (EAR) files are archive (ZIP) files composed of a specific folder and file structure. You can create an EAR file using any ZIP tool (for example, 7-zip) and then rename the ZIP extension to EAR. Oracle provides the bicustom-template.ear file as a starting point.
The bicustom-template.ear file contains a bicustom.war file. Web Archive (WAR) files are also ZIP files composed of a specific folder and file structure. You must update the bicustom.war file within the bicustom-template.ear file to include your custom skin files. The bicustom.war file shipped with Publisher contains an example folder structure to help you get started.
When creating styles and skins for Publisher, you must create CSS and image files, and make them available to Publisher. Only the CSS defined in master.css and images defined in the master folder can be customized for Publisher (bundled in the bicustom.ear file).
Customize the Style for Publisher Standalone
Update selected configuration files to create a custom style for Publisher when Publisher is not integrated with the Oracle Analytics Server.
Note:
When a web page displays an image, the page fetches the the image through HTTP. Therefore an image must be available through an HTTP URL no matter where it's stored in the local directory. If you deploy bicustom.ear but place a custom image in a unrelated local directory, the HTTP URL serves one image while the local directory serves another image. To ensure that the and HTTP URL and the local path point to the same image file, unpack bicustom.ear into the local directory, for example, path_A, make changes to the css/images, and then install a "custom" application from the unpacked local directory path_A.
Customize the Style for Publisher Integrated with the Oracle Analytics Server
Update selected configuration files to create a custom style for Publisher integrated with Oracle Analytics Server.
Note:
The custom configuration properties override the master configuration properties; therefore the value of THEME_CUSTOM_MASTER_CSS_URL takes precedence over the value of THEME_MASTER_CSS_URL. The same rule applies for images.
Fallback Mechanism for Custom Styles
When creating custom styles for Publisher (standalone and integrated with Oracle Analytics Server), Oracle recommends that you copy only what you want to change in the customization. Anything not copied "falls back" to the style specified in the base skin for Publisher, which is the Skyros theme.
Custom Style Sheets
For custom style sheets (css), if THEME_CUSTOM_MASTER_CSS_URL is provided, Publisher references those styles and ignores any others.
For custom style sheets (css), if THEME_CUSTOM_MASTER_CSS_URL is provided, Publisher references those styles and ignores any others. If THEME_MASTER_CSS_URL is provided, Publisher uses those styles. If neither are provided, Publisher uses the styles defined in the base skin.
Images
Publisher constructs image URLs based on certain factors.
For images, if THEME_CUSTOM_MASTER_IMAGE_PATH is provided, and the requested image exists in the directory, Publisher uses the value of THEME_CUSTOM_MASTER_IMAGE_URL_PREFIX to construct the image URL.
If THEME_MASTER_IMAGE_PATH is provided and the requested image exists in the directory,Publisher uses the value of THEME_MASTER_IMAGE_URL_PREFIX to construct the image URL. If neither are provided, Publisher uses the images defined in the base skin.