Featured
-
Download multiple files from media and document in Liferay 6.2
Hello Guys, Liferay store files using media and
by bhagwan.khichar -
Hiding "My Sites" Menu in Docbar in Liferay
You can hide the "My Sites" menu from Liferay Docb
by chandan.ahluwalia
Tags
Default Group of all registered users in liferay
New users have no group, even it is created and referenced in portal-ext.properties.
1). Input a list of default group names separated by \n characters that are
2). associated with newly created users.
portal-ext.properties
#...
How to use workflow in liferay 6.2?
Hello Guys
Here I am writing for how to use workflow in liferay.
A workflow consists of a sequence of connected steps. Workflow is a depiction of a sequence of operations, declared as work(It's manage asset) of a person, a group of persons, an ...
How to develop neurotechnology SDK in liferay?
Hello Guys
Neurotechnology Sdk is used for fingerprint, face detection etc..
To develop neurotechnology SDK in liferay, first build maven project and create applet jar and relative jar's using Maven with "clean install -Papplet".
Below steps...
How to use applet with portlet in liferay?
Hello Guys
Below code will help you to build java applet in liferay portlet.
Write below code in view.jsp :
<applet name="Demo" id="Demo" code="com.AppletDemo" codebase='<%= themeDisplay.getCDNBaseURL()+"/PortletName" %>' width="4...
How to implement Change Password functionality in custom portlet in Liferay 6.2
To implement the change password functionality into your custom portlet in Liferay 6.2, just follow the below steps:
1- Write the below line in liferay-portlet.xml file for the portlet in with you want to perform action to change the password
...
Liferay Open URL in Popup Dialog
If you have requirement to open page in Popup Dialog instead of new page you can use following code. This look more professional and keep the user on same page. This is helpful in showing content like user details or payment records etc.
In ...
How to download file in liferay 6.2 ?
Hello Guy's
Below code will help you to download file from server using liferay 6.2.
Here I am writing a portlet to download file.
For better understanding create portlet in your eclipse and follow below steps :
Step: 1
Edit view.jsp an...
Liferay: Checking logged in user role in JSP
Many a time we face the requirement where we have to check if the logged in user have Admin role or not on JSP.
To do so, it is quite easy and can be done in just simple steps. Let's see how can one know if the logged in user is ...
Hiding "My Sites" Menu in Docbar in Liferay
You can hide the "My Sites" menu from Liferay Docbar by creating hook. In my example i am hidding the menu option for all the users except those whose role is Administrator. You need to Hook the html/taglib/ui/my_sites/page.jsp
Add the followi...
Activate deactivated user in Liferay 6.2
Let say you deactivated account in liferay, it won't be visible in Users by default. And if you try to re-register it will give error that this user already exists. Hence in order to activate the deactivated account do following:
Go to Control...
How to search record from dynamic data list in Liferay 6.2?
Hello Guy's
Some time many of us faces difficultly in searching record from dynamic data list in Liferay 6.2, so for your help below I am mentioning how you can do this-
Here I have created two methods for search record from dynamic data lis...
Liferay Development Setup on Windows 8 64 bit
Below document will assist you in creating Liferay Development environment on Windows 8 64 bit OS. Please be noted that you need at least 2 GB RAM for Liferay to work smoothly. For more details on development, customization and consultation, plea...
How to change dateformat of DDLRecord created date in Liferay 6.2
Hello guys,
Some programmers many time faces difficulty while changing date format in liferay. Therefore By Below example, I am going to guide you How to change date format in liferay?
Given bellow is the date format in GMT of liferay
"...
How to retrieve or get records from DDLRecord in liferay 6.2
Hello guys
To retrieve a record form DDLRecord in liferay 6.2 please follow the below given code.
Here in below code I am retrieving records from DDLRecord according recordId.
here recordId = 11207.
List<DDLRecord> ddlRecords ...
Two level or multilevel workflow for Liferay 6.2
Hello guys,
many times developers got stuck into the issue that How to create Two level or multilevel workflow for Liferay 6.2.
So here below I have created two level or multilevel workflow for liferay 6.2.
In which first approver approve the ...
Configure the mail server settings in Liferay 6.2
How to configure mail in liferay 6.2
step 1.
Click on control panel-->Server Administration--> Mail
Step 2. Configure the mail server settings
Incoming POP Server: pop.gmail.com
Incoming Port:995
Use a Secure Network Connectio...