The setup and installation of premium themes and layouts is quite easy, and this process is the same for every premium distribution.
The setup and installation of a premium theme is similar to that of any other community theme. You just need to set the primefaces.THEME
context param to the sentinel
, spark
, ronin
, rio
, or modena
theme.
The setup and installation of a premium layout requires a step-by-step process, which is explained as follows:
Each layout provides a main
template.xhtml
and additionallayoutmenu.xhtml
(theleftmenu.xhtml
file forsentinel
andtopbar.xhtml
for the base layout). You need to copy and place these three files under theWEB-INF
folder of your project.To kick-start a page from scratch, use a layout provided by a sample
empty-page.xhtml
page (by using the maintemplate.xhtml
file) to define custom content, where content is the mainui:define
placeholder.Each layout contains resources such as CSS, JavaScript, images, and font...