Questions tagged [liferay-6]

Liferay is an open source Java portal and social platform. The 6th major version was released on June 2010, includes 6.0.x, 6.1.x and 6.2.x and was followed by major version 7 in May/June 2016. Use this tag for both, Enterprise and Community Edition of the given releases.

Liferay is a free and open-source Java-based enterprise portal, content management system, and social platform used to power corporate intranets and extranets.

It supports plugin development using many languages, including PHP and Ruby. The 6.1 GA2 Community Edition and 6.1 GA2 Enterprise Edition were released on the 31st of July 2012.

Liferay has released 6.2 community- and enterprise editions in 2013/2014, and one of the most important and remarkable improvements of the new version of Liferay Portal are the new mobile capabilities that come out of the box.

Community Editions of 6.x won't receive any more updates, the latest available version is 6.2.5 GA6, released November 2016

A lot more information is available in the main tag.

2437 questions
5
votes
2 answers

Get Layout Friendly URL In Liferay

I want to get a friendly URL for a layout based on layout id. For example, /web/group/page. Currently this is how I do it: Layout layout = LayoutLocalServiceUtil.getLayout(groupId, false, layoutId); String groupFriendlyUrl =…
Rashidi Zin
  • 266
  • 2
  • 4
  • 18
5
votes
4 answers

Liferay Portlet: How to generate service.xml (service builder) from existing database

I am new to liferay, Can anyone please suggest some way to generate the service.xml for existing database Discussion on Liferay Website . I hope people might have developed some way or liferay have developed some plugin for this.
Navdeep Singh
  • 699
  • 1
  • 10
  • 25
5
votes
3 answers

Issue in creating portlet using SDK plugin in liferay

I have installed liferay-portal-tomcat-6.1.2-ce-ga3-20130816114619181.zip and liferay-plugins-sdk-6.1.1-20130816114619181.zip in same path say "/home/sim/Desktop/LR". And tried to install SDK plugin from …
Sonal S.
  • 1,444
  • 1
  • 15
  • 31
5
votes
1 answer

Limit video preview to 5 mins or 10 MB size in Documents & Media portlet

Is there a configuration to limit the video preview to 5 mins or to a particular file size say 10 MB of preview. I have set-up Xuggler, ImageMagick and the video preview is working fine on Liferay 6.1 GA2. The reason I need this is because large…
Prakash K
  • 11,669
  • 6
  • 51
  • 109
5
votes
3 answers

Setting sessiontimeout in Liferay 6.1

I want to reduce the session timeout from 30 minutes to 5 minutes. I went through the guidelines of Liferay communtiy like setting following properties in to portal-ext.properties…
Md Shareef
  • 61
  • 1
  • 2
  • 8
5
votes
2 answers

what are the pros and cons of setting virtual host in Liferay?

I am using multiple domains to access liferay portal instance. For example following are the domains mapped in hosts file of windows: www.liferaytest1.com www.liferaytest2.com and in Liferay's Control Panel → Portal Settings, www.liferaytest1.com…
suyash
  • 1,254
  • 1
  • 15
  • 33
5
votes
1 answer

Display data from Custom Query(Joined tables) in liferay search container

I have followed this wiki and have successfully built a custom query. It works fine. I have used a join between tables. My question is how do I display it on a jsp using liferay search container since className in search container requires one model…
Seeya K
  • 1,221
  • 6
  • 27
  • 43
5
votes
2 answers

How Liferay's portlets name are generated?

In most cases it is necessary to know Liferay portlet's actual name. Particularly in Liferay's theme I can add "Login portlet" like the following: $theme.runtime("58", "", $velocityPortletPreferences.toString()) And it works. But when I try to add…
user2151444
5
votes
4 answers

Removing localization in liferay theme

I am using Liferay 6.1 and have developed theme in the same. My problem is when i load the theme the head section contains huge links as shown below:
Milople Inc
  • 399
  • 1
  • 8
  • 34
5
votes
1 answer

Customizing password reminder (security-questions)

I have customized sign-up page using a hook. I want to add the security question in the sign up page where as the default security question is set when user logs-in Liferay the first time. So how can I add security question in the sign-up page…
nebula
  • 3,932
  • 13
  • 53
  • 82
5
votes
1 answer

How to capture the portlet instance removing event from a page in Liferay?

When an instance of my portlet is going to be removed from a page, I want to capture that event to get some preference values from that portlet, and to do something. Is there anything like interfaces or hooks to do that in Liferay?
bopomofu
  • 143
  • 1
  • 1
  • 7
5
votes
4 answers

JavaScript and CSS not working in my liferay portlet

I have to use some JavaScript and CSS for my portlet. I am using some datable jQuery for sorting and some interactive display, but it's not working. Can anyone guide me to where I am making a mistake? This is my directory structure of docroot where…
BhavikKama
  • 8,566
  • 12
  • 94
  • 164
5
votes
1 answer

Liferay shows different URL for different machines

I am seeing different URLs being generated by Liferay 6.1 GA2 on different machines even when I enter the following same URL in the browser: http://my.ip.0.202:8080/ Machine-1's browser…
Rasabihari Kumar
  • 491
  • 1
  • 4
  • 16
5
votes
5 answers

How to deploy a portlet to Liferay from Eclipse

I've made a portlet in Eclipse and now I'd like to deploy it to a running Liferay-6.1 instance and debug it. I guess this should be described in documentation, but I was only able to found how to create the portlet, but not how to deploy it.
Anthony
  • 12,407
  • 12
  • 64
  • 88
5
votes
1 answer

How to use two (multiple) Liferay UI Search Container tags in a single JSP

I need to use two different tags in a single JSP. The pagination gives issues if we use two tags: When I click on the 3rd page of the first tag the second…
Prakash K
  • 11,669
  • 6
  • 51
  • 109