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
4
votes
2 answers

Programmatically Adding Images to Liferay Document Library version 6.1

In Liferay6.1 I want to add images programmatically into Document Library? This is my main method that I want to add an image into document library by it : public class ImgGallery { public static void main(String[] args) throws SystemException,…
brelian
  • 403
  • 2
  • 15
  • 31
4
votes
1 answer

Liferay concatenate and compress javascript

I am trying to figure out how to achieve compression and minification for all my js files. Currently i have them in a hook plugin under /html/js/mycustomjs/ folder. I understand that liferay has its own mechanism to compress javascripts, in…
madoke
  • 873
  • 11
  • 25
4
votes
1 answer

How to assign Permissions to site page dynamically when created

In Liferay when a site page is added, it is assigned VIEW permission automatically for Owner role, Guest role and Site Member role. Is it possible to assign VIEW permissions dynamically to custom role when page is created instead of manually…
suyash
  • 1,254
  • 1
  • 15
  • 33
4
votes
2 answers

How to call one portlet from another portlet in Liferay?

I have created 3 portlets (testimonial portlet, directory portlet, polling portlet), and I want to call testimonial portlet from directory portlet. How to do this? Kindly help me. I have written the following code in my view.jsp file of directory…
user2585890
4
votes
1 answer

Liferay logging

I know you could define the log level for liferay log on the path /liferay-portal-6.1.10-ee-ga1/logs/liferay.yyyy-mm-dd.log through Control Panel -> Server Adminstration -> Log levels . But this is so hard to do, since there are many pages to go…
Adia
  • 1,171
  • 5
  • 16
  • 33
4
votes
2 answers

how to access liferay menu from portlet

I define a menu in navigation.vm file which working good in liferay project. But I want to access this menu from my portlet. Is there any way to access menu from portlet entry point or view.jsp????
Moddasir
  • 1,449
  • 13
  • 33
4
votes
2 answers

How to get Server Name and Server Port from Liferay velocity template?

In jsp page we can get Server Name and Server Port by using request.getServerName() and request.getServerPort().` As we can't get HttpServletRequest from Liferay velocity template, Is there any other way to get both Server Name and Server…
Boat
  • 515
  • 2
  • 8
  • 28
4
votes
1 answer

Liferay 6.0.12 logging

I've ecnountered some problems with logging Liferay 6.0.12 classes on JBoss 5.1. I need to change log-level for Liferay rss portlet classes, e.g. create another appender or use the default one (server.log) and have logs there with desired…
Artyom
  • 161
  • 1
  • 10
4
votes
3 answers

Friendly URL in liferay 6.1

I have just changed the url of blogs(default) portlet to "http://localhost:8080/web/standorman/blogs/-/blogs/application-development-in-liferay" But i want to it to be…
Milople Inc
  • 399
  • 1
  • 8
  • 34
4
votes
1 answer

Searchcontainer Pagination with tabs

I have 3 tabs ie. 3-Jsp and one main Jsp That includes all the tabs. All the tabs have searchcontainer. When i click on next it automatically sends me to first tab. My tabs are perfect problem occurs only when action fires on searchcontainer. "> …
Jay Trivedi
  • 464
  • 4
  • 15
4
votes
1 answer

How to call specific method of portlet.java class rather then overide serveResource method?

I want some help in liferay with ajax. Right now I am calling the ajax method from my view.jsp page to submit some data. Here is sample code I am using in view.jsp: <%@ include file="/init.jsp"%>
BhavikKama
  • 8,566
  • 12
  • 94
  • 164
4
votes
4 answers

How to create a RenderURL during action phase in a portlet?

In the method processAction(ActionRequest request, ActionResponse response), I insert a record into database and get the ID and then I want to redirect to the view page of this record. So I need to create a RenderURL with a parameter value for that…
bopomofu
  • 143
  • 1
  • 1
  • 7
4
votes
1 answer

How to know what permissions a Site Admin & Site Owner has?

How would I know what permissions the following Liferay Roles have: Site Administrator Site Owner I can't see any entry made in the ResourcePermissions table for the system roles like the above two and the Administrator role, hence I think this…
Prakash K
  • 11,669
  • 6
  • 51
  • 109
4
votes
3 answers

liferay increase username length

I am aware that liferay concatenates the firstname with lastname for the username fields example the one found in table contact. I need the username to be > 75 characters long (which is the default column length) as the first name and last name have…
cachiama
  • 590
  • 3
  • 19
4
votes
2 answers

rendering Liferay page URLs inside of portlets Liferay 6.1

I'm new to liferay and I'm almost positive this is blazingly simple to do: Using velocity markup, I want to be able to generate links to pages within my Liferay website and embed them inside of my portlets on different pages. I have a vague idea…
max7
  • 800
  • 2
  • 16
  • 37