Examine themeWhat is a theme?- A theme provides structure or layout for the portal
- Similar to a skeleton, a blueprint or the framework of a building
- It is the underlying HTML code of the portal, which is developed using XSLT technology
What is a theme?
What is XSLT?- XSLT stands for XSL Transformations
- XML-based language used for the transformation of XML documents into other documents such as HTML
- XSLT uses XPath to navigate XML
How does XSLT work?
Suggested work flow- Work in the uPortal source code
- Copy changed files from your source code to your deployed code
- Copy changed files from your source code to your deployed code
- Setup up alias / copy commands for faster development
Demo- Location:
- /uportal-war/src/main/resources/layout/theme/universality
- Theme consists of 7 major files:
- universality.xsl
- page.xsl
- navigation.xsl
- components.xsl
- columns.xsl
- content.xsl
- preferences.xsl
- Change the portal through configuration:
- Show or hide tab flyout menus
- Add a sidebar to the portal
- Add a page title to the portal
- Add additional links
- Remove the web search from the header
|