Change Liferay Default User Portrait

Step 1: Add the below given properties in portal-ext.properties file.
portal-ext.properties file location :
%LIFERAY_HOME%\tomcat-7.0.62\webapps\ROOT\WEB-INF\classes
If there no file exists with this name, please create this. And then add below lines.

image.default.user.female.portrait=com/images/user_female_portrait.png
image.default.user.male.portrait=com/images/user_male_portrait.png


Step 2: Add the default custom image under below given path

%LIFERAY_HOME%\tomcat-7.0.62\webapps\ROOT\WEB-INF\classes\com\images\

Step 3: Restart the server

Enjoy !!!!

Comments

Popular posts from this blog

JPA vs Spring JPA vs Spring Data JPA vs Hibernate

How to add portlet in liferay theme.

How to enable cross origin in apache.