Search This Blog

Thursday, June 3, 2010

Replication of a theme for using it Parallel

1. I am assuming that plugins environment is ready.



2. If so, you can see the folder structure as in the screen shot.

3. Navigate to themes directory through command prompt.


4. Execute the command create sample "Sample" as seen the figure below.




5. After build successful, you can see the sample-theme folder as show in the below screen shot.




6. Now, copy all the folders(css,images,javascript,templates) from an existing theme which you would like to replicate and place it under sample-theme->docroot--> _diffs

7. copy liferay-look-and-feel.xml from existing theme which will be available under WEB-INF and place it under sample-theme--> docroot --> WEB-INF.

8. Edit liferay-look-and-feel.xml(under sample-theme--> docroot --> WEB-INF) and modify the
<theme id="sample-theme" name="Sample Theme>

9. Navigate to sample-theme directory through command prompt and deploy your theme.
10. After successful deployment, test your replicated theme.