Blogs

RSS
RSS

I fell over a problem the other day that I had solved ages ago and foolishly hadn't taken the time to write down how I did it. I guess it must be fairly rare as my standard "I might have forgotten to write it down, but someone must have" approach to finding the answer on the internet also failed. So, I have committed to solving both issues with one post. I'm running LifeRay 6.2...

12188
thumbnail

As a supervisor of my department, some times I want to check how much progress of a work is done, who is working on a certain trading? who is reviewing a loan application? If a new business plan application is getting stuck for 2 weeks who is in charge of that? I want more information than a simple word pending...   With workflow out of the box, you can't review any...

14499
thumbnail

I've been working with Liferay for quite some time now, but I must confess that I still haven't really made the switch from Velocity to Freemarker for my templates. Even though I know there are a lot of benefits to using Freemarker, like better error messages, the Velocity knowledge and library of snippets I've build up through the years is hard to give up. But with the advent of...

32611
thumbnail

Three weeks ago marked the sixth year anniversary for me. It came and went quietly. I probably would have not posted anything but something said at this past retreat prompted me to reconsider.  In the past six years, at each retreat, I have had the pleasure to work and play so many different nationalities and backgrounds. Some are married. Some are single. Some are male; some...

12107
thumbnail

This short post brings together the little pieces critical to crafting an ADT in velocity to provide direct download links to documents in your Documents and Media repository. You will find parts of this solution strewn across forums and blogs.    In essence, you'll have to do two things: 1. Add the following property to your...

25584
thumbnail

So in a recent project I've been building I reached a point where I believed my project would benefit from being able to issue user notifications. For those that are not aware, Liferay has a built-in system for subscribing and notifications.  Using these APIs, you can quickly add notifications to your projects. Foundation Before diving into the implementation, let's...

40473
thumbnail

Overview Sometimes you need to manually reindex some, or all, of the content search indices. Liferay Portal 6.2 provides search indexing functions for many content types. e.g. Blog Document Journal Article Wiki The content reindex functions apply to the registered search engine provider. e.g. Apache Lucene Apche Solr ...

8652
thumbnail

Hey! My name is Jonni and I'm a UI intern on the WeDeploy team. I joined back in November and wanted to share a couple things from my first three months at Liferay.                               I have no coding background. Before my...

15609
thumbnail

The purpose of this tutorial is to let you know how to involve a 3rd part js lib in metal soy portlet and how to use them in ES6 script.    In Liferay DXP we provide abundant OOTB js lib to help the development. Jquery, AlloyUI, metal, lexicon component and etc.   They are all good, however, in real...

19644
thumbnail

In Liferay DXP it supports soy template with portlet. Through soy template we can take advantage of  Google Closure to build rich web application.   In next sections I am going to lead you in to a journey of Soy portlet.   Tools we use:      Liferay IDE...

22395
thumbnail

原文作者:David H Nebinger 原文地址:https://web.liferay.com/web/user.26526/blog/-/blogs/osgi-module-dependencies 如有問題,歡迎在原文下面討論,也歡迎在這裡留言。   假設在Liferay DXP平臺上開發module的時候,遇見了需要運行環境(runtime)的依賴的時候,該怎麼辦? 在這片簡短的文章中,我會介紹幾種方法... 假設你有一個module需要iText(和iText的依賴)作為依賴。這其實和module本身的功能關係不是很大,但是你現在有這個依賴,需要一種方法來使用它。   方法 1 - 放在全域(global)目錄下   ...

15968
thumbnail

原文作者:David H Nebinger 原文地址:https://web.liferay.com/web/user.26526/blog/-/blogs/osgi-module-dependencies 如有问题,欢迎在原文下面讨论,也欢迎在这里留言。   假设在Liferay DXP平台上开发module的时候,遇见了需要运行环境(runtime)的依赖的时候,该怎么办? 在这片简短的文章中,我会介绍几种方法... 假设你有一个module需要iText(和iText的依赖)作为依赖。这其实和module本身的功能关系不是很大,但是你现在有这个依赖,需要一种方法来使用它。   方法 1 - 放在全局目录下 ...

18135
thumbnail

So recently I was asked, "How can panels be removed from the My Account portlet?" It seems like such a deceptively simple question since it used to be a supported feature, but my response to the question was that it is just not possible anymore. Back in the 6.x days, all you needed to do was override the users.form.my.account.main, identification and/or miscellaneous...

40731
thumbnail

With the release of Liferay IDE 3.1 M1 ,I noticed one more interesting feature that developers might be looking for, is that jsp of the OOTB module JSPs  can be modified using Liferay Module Fragment project in Liferay IDE 3.1 M1. One approach to override module JSPs is mentioned on page. As described below , JSPs fragment can also be generated using Liferay IDE 3.1 M1. ...

18300
thumbnail

Liferay IDE 3.1 M1 has been released. Previously i explored Liferay 7 theme development using theme generator as expalined on page. Since than I was curious to do it through Liferay IDE that seems to more convenient for developers. In Liferay IDE 3.1 M1, I have noticed that theme project templates are added. Explaining steps so that it might be helpful for the community. Follow...

25609
thumbnail

Recently I was working on a fragment bundle for a JSP override to the message boards and I wanted to wrap the changes so they could be disabled by a configuration property. But the configuration is managed by a Java interface and set via the OSGi Configuration Admin service in a completely different module jar contained in an LPKG file in the osgi directory. So I wondered if...

48709

There may be a requirement to add custom organizations instead of Regular Organization & Location. To acheive this we need to add the below properties in portal.ext.properties ## For add custom organizations organizations.types=regular-organization,location,custom-organization organizations.rootable[regular-organization]=true ...

14058
thumbnail

本文在于讨论如何在Liferay DXP(Liferay 7)中使用公共参数(public render parameter)支持IPC。 关键点:     在6.2以前的,我们需要在portlet.xml中声明公共参数,但是在OSGi时代,我们需要在Component中进行声明:      "javax.portlet.supported-public-render-parameter=message"      其中“message”是公共参数的名称。      声明之后,就可以像使用普通render parameter一样使用这个参数了。    ...

17236
thumbnail

Flexible Liferay 7 - Tomcat Setup The challenge If you want to run Liferay 7 on Tomcat using the bundle provided by Liferay or packages provided in your Linux distribution are convenient ways to get Liferay up and running fast. In many cases you may however want to have a better control on which Tomcat version you are running on and also want to have an easy upgrade path....

14745

Informix Dynamic Server Informix Dynamic Server, also known as IDS, is an extensible Relational Database Management System originally developed by Informix Software Inc. IDS is now part of the IBM Software Group database portfolio. Use the below link to download Informix 11.5 server and need to register. ...

13319