Figure 2.3: "Velocity" ThemeFigure 2.4: "Genesis" ThemeFigure 2.5: "Clean" ThemeFigure 2.6: "Brochure" Theme
Themes in Liferay Portal 3.5 are also incredibly flexible in how they can be applied:
Different themes can be assigned to specific user groups (a.k.a. communities).
Users can choose a unique theme for their own personal portal page
Both Java Server Page (JSP) and Velocity (VM) languages are supported
Themes are hot-deployable as .wars (when supported by the app server)
To select a different theme, simply go to the Look and Feel section (in the header bar) andchoose one of the available themes and a corresponding color scheme. The process is asstraightforward as setting a new desktop background in Windows.
Making Your Own Theme
Now that we’ve seen the power and flexibility of themes, let’s see how you can put yourcreativity to work and design your own. Making a new theme requires only four mainsteps:
Let’s take a high-level look at how Liferay created the JSP-based "Brochure" theme (Figure2.6) by modifying a few things in a copy of the "Classic" theme (Figure 2.1).