WebSphere Commerce EnterpriseWebSphere Commerce Professional

Replacing a resource image

A common customization scenario involves replacing the terminology used by the application with terminology that is more appropriate to the organization where the application is deployed. You might also want to replace application images with your own images. To ensure that this is possible, the IBM Sales Center application is designed to allow you to replace text and images that appear on the user interface. This section explains how to replace a resource image.

Procedure

  1. Locate the image to be replaced in the com.ibm.commerce.telesales.resources plug-in and note its name and relative directory location. Note: there is a specific directory naming convention used (under the icons directory)
    Directory nameUsage
    dlcl16disabled icons for local toolbars
    dtool16disabled icons for main toolbar
    elcl16enabled icons for local toolbars
    etool16enabled icons for main toolbar
    eview16enabled icons for views/perspectives
    obj16 icons for objects (folders, files, and other objects)
    prodbranding related icons
    wizbanenabled icons for wizard/dialog banners
  2. Put your new image in a customization plug-in with the same name and directory structure as the image that is being replaced.
  3. Use the images extension point to indicate that the customization plug-in has images that will be used instead of the default IBM Sales Center images:
    
    <?xml version="1.0" encoding="UTF-8"?>
    <?eclipse version="3.0"?>
    <plugin>
       <extension
    point="com.ibm.commerce.telesales.resources.images"/>
    </plugin>