Work with themes
Portal themes need to fulfill a set of requirements.
The minimal requirements for a theme are these:
When the Default.jsp is executed, the theme needs to do the following:
- A theme must be registered in the portal database.
- A theme must contain a Default.jsp that the portal server calls to render a page that has this theme assigned.
Traditionally themes have used JSPs and related technologies to meet these requirements. Static based theme elements have been introduced to provide a way to implement themes that work with static HTML, CSS, and JavaScript, without having to work with JSPs and other J2EE artifacts.
- Initialize the page structure, head, and body sections given by HTML or other markup
- Load any common resources required by the theme or page contents, such as JavaScript and CSS
- Render the structure of the site, for example the banner and footer of the page
- Render the navigation to provide the user a way to navigate from page to page within the site
- Render the contents of the current page.
Note: For WebSphere Portal v7.and later versions you need theme management rights to be able to create, update, and delete themes and skins. For details refer to the portal information center topics about access rights.
Parent
The Page Builder theme
Access permissions
Capitalized "s" in JavaScript. Reflected in .dita source.