Wednesday, December 2, 2015

Install EE plugin in development machine

Liferay marketplace is great tool, you can sell your app, download free apps or purchase EE apps. There are also many great free EE apps. You can download CE apps using your browser. But when you search EE apps in browser, you see EE Only button and there is a message that it Available to EE subscribers. Find out how to get a subscription.


Many developers don't know how to download free EE plugin so I thought I should write a blog about it.
Prerequisites: EE portal, valid EE License, Admin credentials of you portal, Liferay.com credentials.
For free EE plugins, you need to login with admin credentials in your portal. Click on Control Panel. Now go to Purchased menu in App section. It will ask you to login on Liferay Market place, use you Liferay.com credentials. After login it may ask for update your marketplace app. So update it first.

Now you will see two or three tabs, click on EE tab. It will show all free EE plugins. You can install plugin from there.
Enjoy !!!

Thursday, October 17, 2013

Disable velocimacro caching in liferay

Liferay developer face VM macro caching problem in development stage. Velocity use velocimacro.library.autoreload property to handle it. You can disable velocimacro caching in Liferay by adding following properties:

Liferay 6.2 : 

You need to update "velocity.engine.resource.modification.check.interval" property in portal-ext.properties

       #
       # Set this to 0 to load template source every time. Set this to a number
       # less than 0 to load templates once and cache it indefinitely. Set this to
       # a number greater than 0 to load templates and cache it for the period of
       # time specified by that number in milliseconds seconds.
       #

       velocity.engine.resource.modification.check.interval=0



Liferay 6.1 :


You need to update "velocity.engine.resource.manager.cache.enabled=false" property in portal-ext.properties

      velocity.engine.resource.manager.cache.enabled=false


Note: This feature is intended for development, not for production.