Meet The Author

I'm Jitendra Rajput (Consultant @ CIGNEX Datamatics) , A Programmer , Blogger , Technology Enthusiast and apart from this interested in making new friends , love music and love to play CHESS. Expressing my thoughts using blog.


Content Filtering By User Custom Attribute in Asset Publisher

Leave a Comment
This post will help you to configure assets based on user's custom attribute.

Steps are already available in LPS-19681 but in case if you face any difficulty while configuring the same you can follow this post.


Filter content based on user's custom attribute. If user A logged in from India then asset publisher to display contents for India. If user B logged in from USA then asset publisher to display content from USA.

Step 1 :

Create custom attribute for user with the type Text and name it as "Location".

Read more »

Portlet Location Tracker - v1.1 Released for Liferay 6.2 and Liferay 6.1

Leave a Comment
I am pleased to share that Portlet Location Tracker v1.1 has been released .

New release of Portlet Location Tracker now supports Liferay 6.2 as well.  In the v1.1 of Portlet Location Tracker we have added functionality to remove portlet from page.

Now user can remove any portlet from page in one shot using Portlet Location Tracker.

No need to browse pages to remove portlet just use Portlet Location Tracker , search for your portlet and from results remove from portlet from desired page.

Thank you ,
Jitendra Rajput
Consultant @ CIGNEX Datamatics 

Liferay - Override ServiceImpl Using Ext

Leave a Comment
It is recommended to implement hook to override any portal service but there are certain limitation if you are overriding portal service using hook.

Override a Portal Service using Hook

You won't be able to access any class of portal-impl.jar inside hook so its better to use ext-plugin in such case.

This post will describe how to override any service impl class using ext.

First of all create ext-plugin. Inside ext-impl/src create META-INF folder.

Create ext-spring.xml file. You might have question why we have to create xml file with this specific name. To know more on this you need to check spring.configs property of file.

Read more »

Create Portlet URL In Liferay

Leave a Comment
Here is the example by which you can retrieve URL of portlet which is reside on another Page.
Let say if you have Portlet A on page A and there is one more portlet called Portlet B on some other page that you dont know

Option 1

Option 2

Popular Journal Article - Get Most Viewed Articles in Liferay

Leave a Comment
Popular Journal Article

My new application - "Popular Journal Article" is now available on Liferay market place.
This  application can be used to find out popular journal article/web contents of current group. Based on the view count of journal article this app will display list of articles. Application will not display any web content/Journal article with zero view counts. User can configure number of popular articles they want to see from configuration menu.

i.e If user wants to see top 20 popular article for current group then they can set the maxium records to display from configuration menu.

Read more »
Previous PostOlder Posts Home