Friday, 23 August 2013

Creating Theme in LIferay

Creating Themes
    Creating themes are the main part of the developing in new and attractive portal. The following are the steps to create custom theme.

  1. Create new liferay project by selecting from FileàLiferay Projectàselect “Theme” plugin.
Click on Finish.
  1. It will add the following directory structure.

  1. Now deploy the theme to get directory structure of the theme.

  1. After successfully registering theme ,refresh the theme in package explorer. Now you got directory structure of the theme like the following.

  1. Now open build.xml.There is default property value=”_styled”.Change it to   value=”classic”


  1. Now copy  \docroot\css\custom.css to  \docroot\_diffs\css\custom.css.

  1. Check weather color_schems folder is available or not. If it is not available deploy once again to get. 
  2. Now open to  \docroot\_diffs\css\custom.css

  1. Now change properties as per your requirement. In this example we change  background property of body and color property of anchor tag as follows.

  1. Now save the file and deploy the theme.

  2. Note: You can change other properties also as per your requirement.

     
    Now your theme is ready to apply .



Sunday, 7 July 2013

Request for New java

Hi
 This is sekhar.I want to show you java in new angle.Please cooperate with me to concepts in new angle.
Thank you.