+

Search Tips   |   Advanced Search


Add a custom mashup page theme to the portal

You can assign different themes to a mashup page. The theme influences the look and feel and the user tasks that are available. These themes are different from the ones used in the portal and need to comply with the mashups theme format.

For more details about using custom themes with mashups refer to the section about custom themes in the Mashup Center documentation.

Before such a theme shows up in the list of themes that you can apply to a mashup page, deploy the theme to the portal and register it with the run time. To do this...

  1. Open the administrative console for the portal.

  2. Select Applications > Install New Application. Depending on your version of WAS, the options you click might look slightly different.

  3. Use the default settings for the individual steps, but select WebSphere_Portal as the target server mapping.

  4. After the WAR file is installed, take a note of the application name in the Name column in the list of enterprise applications.

  5. Verify the portal server is started.

  6. Open a command prompt.

  7. Run the following command:

    ConfigEngine.sh|bat register-mashup-module -DApplicationName=<applicationName> -DWasPassword=wasadmin -DPortalAdminPwd=wpsadmin

    Example: If the application name is MyTestApplication, the command looks like this:

    ConfigEngine.sh|bat register-mashup-module -DApplicationName=MyTestApplication -DWasPassword=wasadmin -DPortalAdminPwd=wpsadmin
    .

You can now assign the newly deployed theme to a Mashup page.

To uninstall the theme, proceed in reverse order: first run the task to unregister the theme, then uninstall it from the administrative console. Proceed as follows:

  1. Open a command prompt and run the following command:

    ConfigEngine.sh deregister-mashup-module -DApplicationName=<applicationName> -DWasPassword=wasadmin -DPortalAdminPwd=wpsadmin

  2. Open the administrative console for the portal.

  3. Select Applications > Enterprise Applications.

  4. From the list of enterprise applications select the name of the theme that you want to remove and click Uninstall.


Parent topic:

Work with mashup pages


Related information


Mashup Center product documentation:   http://www-10.lotus.com/ldd/mashupswiki.nsf/xpViewCategories.xsp?lookupName=IBM%20Mashup%20Center%202.0%20documentation
Mashup Center information center:   http://publib.boulder.ibm.com/infocenter/mashhelp/v2/index.jsp