FROMDEV

How To Change Company Logo Liferay Portal 6.x

Liferay bundle (Tomcat) comes with a default company logo for liferay.com. In this post I am going to cover 2 ways to change this logo with your own company logo/picture.

  1. How to change company logo – Administrator Style

  • How to change company logo – Developer Style

    1. Overriding portal default configuration
    2. Create a file with name “portal-ext.properties” with following content. If it already exists then append below line in the file. (Replace the name of image file with you company image file name.)

      image.default.company.logo=company_logo.png
      

      The property field “image.default.company.logo” is a default property which is configured in “portal.properties” file. By creating portal-ext.properties file we can override the existing values of portal config without touching the original configuration.

    3. Copy Files in server CLASSPATH
    4. Copy portal-ext.properties and company logo file to below location tomcat-webappsROOTWEB-INFclasses Both of these files needs to be in server CLASSPATH to be read by the portal.

    5. Restart server
    6. Refresh the browser window and changes should be visible on the portal home page.

    Watch this Youtube Video to see all steps

    Exit mobile version