Creating a theme

From Null-pointer

Jump to: navigation, search

Contents

Prerequisite

Create a new theme

[pkane@LONDON|c:\_projects\myportal\liferay\liferay-plugins-sdk-5.2.3\themes]
ant -Dtheme.name=linhope -Dtheme.display.name="Linhope Solutions" create

Deploy the theme

[pkane@LONDON|c:\_projects\myportal\liferay\liferay-plugins-sdk-5.2.3\themes\linope-theme]
ant deploy

Creating your theme

You need to override or create you new files with in the folder /[theme]/docroot/_diffs. It is recommend you look at [webserver_app_folder]/ROOT/html/themes/classic for files and structure.

Creating the thumbmail preview

Create a file /[theme]/docroot/images/thumbnail.png The image should be 163 x 113

Personal tools