RSS
Venkat Koppavolu | 29 May 2014

Hello Community, Wanted to share the problem which our team recently faced and approach we took to solve that. It might be helpful for the users who already facing these kind of issues. Thanks to Liferay Advanced Scripting! Problem Description: In liferay portal there are couple of pages(around 100) and each page has couple of portlets. A portlet has multiple instances on...

231437
4
thumbnail
Tauseef Ahmed | 27 May 2014

By using #if (($is_signed_in) && $permissionChecker.isCompanyAdmin($company_id))  dockbar() #end in portal_normal.vm we can hide access to control panel but any user can access by using http://localhost:8080/group/control_panel url To avoid it we can restrict access to control panel by using hook.   1) Into liferay-hook.xml add:...

266797
2
thumbnail
Meera Prince | 11 Aug 2014

Liferay MVC Portlet Database Interactions / Liferay MVC CRUD Operations   Introduction:   Liferay MVC is portlet frame work given by Liferay and it is specific to liferay environment. We already well aware of Liferay MVC frame work from  Liferay Savvyprevious...

351079
4
thumbnail
Kuo Zhang | 26 May 2014

Hi, my name is Kuo Zhang(kuo.zhang@liferay.com), and I'm working in the Liferay-IDE team in Dalian, China. I'd like to introduce to you several new features and improvements added in Liferay IDE 2.0.   Improved new project wizard Instead of listing all types of plugins, the wizard organizes the plugin types via a popup list, which makes...

229384
2
thumbnail
Matti Tahvonen | 23 May 2014

As you might know, Vaadin libraries are bundled in Liferay. This makes it easy to start developing basic Vaadin portlets and you’ll also save in war file size as you are sharing the libraries between your projects. There are also a couple of global Liferay configuration properties (like vaadin.theme) that affect all Vaadin projects deployed on Liferay. The approach currently used...

244992
11
thumbnail
Tauseef Ahmed | 23 May 2014

Liferay Single Sign-On using Facebook-SSO First, Log into http://developers.facebook.com with your Facebook credentials Then go to Apps -> Register as a Developer Then Click on -> Apps -> Create a New App Here we have to give the “Display Name” for our application. Also, choose the Category as “Local”. After...

271820
4
thumbnail
Subhasis Roy | 02 Feb 2015

This article demonstrates how to use inter-portlet communication in Liferay Portal Web applications based on JSR 286(Sometimes called Portlet 2.0) events.   We have used Spring portlets in the following example. Here we are passing one custom employee bean object from one portlet to another.   #Publisher portlet.xml entry: ...

232234
5
thumbnail
Tim Telcik | 10 Oct 2017

Overview Liferay Portal 5 and 6 support different permission algorithms. Liferay Portal 5.2.x and 6.0.x supported permission algorithm 5. In addition, Liferay Portal 6.0.x introduced permission algorithm 6. Brian Chan states, "Algorithm 6 is an improved version of Algorithm 5. It provides the exact same functionality, but reduces database size by 66%." Please...

9052
0
thumbnail
Tauseef Ahmed | 21 May 2014

To Display some Html content in Alloy Popup: < aui:script > function callPopup(){ AUI().ready('aui-dialog', 'aui-overlay-manager', 'dd-constrain', function(A) { var dialog = new A.Dialog({ title: 'DISPLAY CONTENT', centered: true, modal: true, width: 500, height: 400, bodyContent: "This is testing content inside the popup" }).render(); }); } </aui:script >

268115
3
thumbnail
James Falkner | 31 Mar 2015

UPDATE: Liferay Cloud Services has a new name! See this blog post for details on Liferay Connected Services! Today we are announcing an open Beta of Liferay Cloud Services! If you're interested in participating, check out the landing page - you won't be able to miss the big form on the right (there are only 50 slots left - hurry!). What is Liferay Cloud...

270916
17
thumbnail
Tauseef Ahmed | 19 May 2014

If you want to create document library folders (dlfolder) programmatically, you can do this very easy by calling DLFolderLocalServiceUtil.addFolder(userId, groupId, groupId,  false ,  0 ,  "Folder title" ,  "Folder description" , false ,  new  ServiceContext());  ...

267622
4
thumbnail
Pankaj Kathiriya | 19 May 2014

Liferay comes with very usefull js utilities that ease life of Developer.  Liferay provides  js object "Liferay" which has modularized structure. We are going to discuss on this more here. Let's see what all submodules it has, by image shown below.   Let's try to understand these modules one by one. Liferay.AUI: It has functions to get aui/js paths.   ...

256977
6
thumbnail
James Falkner | 16 May 2014

If you're in or around Amsterdam next week, we're having a community meetup prior to the Benelux Solutions Forum event and you're all invited! Join our local community of rockstars for some knowledge sharing, and drinks in the center of town at the Café The Flying Dutchman [map], May 19 (Monday) starting at 20.30! The entire community is invited (you don't have to be attending...

261573
4
thumbnail
Peter Mesotten | 11 Aug 2014

This article is the first in a series of 2 posts on how personalization can be achieved in a portal project. Moreover, the concept of sharing personalized settings between users is explained and how this behavior can be changed in Liferay. See also User-specific versus shared portlet preferences - part 2.   Personalization One of the most...

316606
13
thumbnail
Tauseef Ahmed | 13 May 2014

-Into portal_normal.vm  change this code: #if ($is_signed_in)  #dockbar() #end   with this one #if (($is_signed_in) && $permissionChecker.isCompanyAdmin($company_id))  #dockbar() #end it will hide dockbar for users except admin

268208
3
thumbnail
James Falkner | 13 May 2014

As part of my community party planner role at Liferay (aka community manager), I try to get out and meet many of you at industry and Liferay conferences and other events. I think it's really important in this webified world that we keep the human touch at least a little! At our events I get to learn about new cultures and make new friends, learn how people are using Liferay and...

248381
5
thumbnail
Bradley Wood | 09 May 2014

In every theme that I write I always put this snippet of code in my theme's init_custom.vm file. ## ---------- Logo ---------- ## #if (($company.getLogoId() == 0) && $use_company_logo) #set ($site_logo = "${images_folder}/custom/logo.png") #set ($site_logo_height = 69) #set ($site_logo_width = 403) #end Gist Link What this snippet will do is display the...

261380
7
thumbnail
Tauseef Ahmed | 15 May 2014

On click on confirm ajax submit this form, and wherever your redirect in your class the ajax will redirect just the portlet. <portlet:actionURL var="ajaxURL" name="atsglobaltechsoft" windowState="< %= LiferayWindowState.EXCLUSIVE.toString()%>" /> <script type="text/javascript" >     function submitForm(){        ...

283524
6
thumbnail
Olaf Kock | 15 May 2014

(english summary below) Liferay öffnet am 15. Mai offiziell sein österreichisches Büro - ein schöner Anlass, am Abend zum Community-Meeting einzuladen: 15. Mai 2014, 19:30 (Achtung: Neue Zeit!) Eatalico Praterstraße 31 1020 Wien Auf der Agenda steht: Zwangloser Gedankenaustausch, Treffen mit anderen Liferay-Nutzern und ich (sowie andere) werde bereitstehen, Fragen zu...

249795
1
thumbnail
Bradley Wood | 09 May 2014

Here is a quick refereance for the PACL how to documentation. It was a little hidden, so here is the link for setting it up for 6.1.2 GA3   https://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/lp-6-1-dgen11-developing-plugins-with-security-in-mind-0   Bradley Wood Woodbench Media www.woodbenchmedia.com

246499
0