30 May, 2011

RSS feed in asset publisher

As we know we have RSS feed for message board,wiki,blogs in LR 5.2.X But don't have feed for asset publisher portlet.
I have implemented RSS feed for Asset publisher for LR 5.2.X .
If you want to know any further information regarding implementation just put a comment.

16 May, 2011

Find Blogs By Tag Name

Hi Everyone,

If you want to find blogs as per the tag name in Liferay 6 the code is here :
public List findBlogsByTagName(String[] tagNames){
long[] anyTagIds = AssetTagLocalServiceUtil.getTagIds(themeDisplay.getScopeGroupId(),tagNames);

02 May, 2011

Liferay With Vaadin

18 April, 2011

Facebook Like Box

Put the below code in your portlet to make working facebook like-box.
Also you can configure height,width and account-URL from liferay configuration.
See below screen shots :

<fb:like-box href="<%=faceBookURL!=null ? faceBookURL : PortletProps.get("default.url") %>" width="<%=width!=null ? width : PortletProps.get("default.width") %>" height="<%=height!=null ? height : PortletProps.get("default.height") %>" show_faces="true" stream="false" header="true"> </fb:like-box>


06 April, 2011

Twitter portlet in Liferay

I have create twitter widget in liferay for showing the timeline (tweets)
if you need more information put the comment.
Please see below image for twitter timeline update integration with liferay :

Get portlet preference

In many cases we need to find portlet preferences.
Below is the code which can help to find portlet preferences.


PortletPreferences preferences = renderRequest.getPreferences();
String portletResource = ParamUtil.getString(request, "portletResource");
if (Validator.isNotNull(portletResource)) {
preferences = PortletPreferencesFactoryUtil.getPortletSetup(request, portletResource);
}

23 March, 2011

LDAP Attribute integration

Follow these steps:

1.Make ready your LDAP server with your fields with proper schema.

22 March, 2011

Autocomplete Using jQuery

Hi All,

As we are having lot many requirments for autocomplete functionality.

Please see below lines of code for easy implementation of autocomplete using jquery.

create one web application

17 February, 2011

Portlet Preferences

There are two kinds of portlet preferences available.
  • Static Preferences
  • RunTime Preferences
  •  

order by clause in service.xml

The attributes of the order-column element allows you to fine tune the ordering
of the entity.

<order by="asc">
<order-column name="title" />
</order>

16 February, 2011

Article by tag name

As Now we are moving with liferay 6 we would have lot many requirements
to find the articles by tag name.So in liferay-6 i found little bit
change to find the articles according to tags in comparison with liferay 5.2.X.
So here below i have put the code snippet to find articles by tag for liferay 6.
Hope it will be usefull !!!

Popular Posts

Featured Post

Liferay 7.3 compatibility matrix

Compatibility Matrix Liferay's general policy is to test Liferay Portal CE against newer major releases of operating systems, open s...