Blogs

RSS
RSS
thumbnail

Liferay has different types of pages. The default one is Layout - it’s standard, empty by default page, which is displayed in navigation menu. Portlets may be added to such page, themes and layouts may be also applied to this type of page. In most cases this page type is used. But there are different page types, here are they: Link to a Page of This Site -...

8994
thumbnail

To make some custom class available inside a theme velocity template, you need to put it's instance into com.liferay.portal.kernel.util.WebKeys#VM_VARIABLES request attribute. And it will be populated to the velocity context automatically (in com.liferay.portal.velocity.VelocityTemplateContextHelper#prepare method), see: // Insert custom vm variables Map<String,...

7474

Themelets are small, extendable, and reusable pieces of code. They help to avoid duplication of code. Code that can be reused in other themes can be written in themelet which can be extended to any theme. Unlike Theme in Themelets we will be including only the files in which there are code changes.   Here i have lr-7-theme which looks like below ...

9751
thumbnail

This blog is for creating an interface which will show number of live users and some other details. First of all create a portlet which will provide interface and then create a hook within the portlet.Below link willl help to create hook in portlet. http://www.learnandpost.com/2012/05/create-hook-inside-portlet-liferay.html view.jsp Add below line of code in portlet...

9009
thumbnail

Welcome to the fourth entry in a series about what to keep in mind when building Liferay from source. First, to recap the previous entries in this series from last year: Getting Started with Building Liferay from Source: How to get a clone of the Liferay central repository and how to build Liferay from source. Also some tools that can help you setup your IDE (whether it's...

13349
thumbnail

Short explanation If you want to convert a third party library of your portlets (modules) into a Bundle OSGi to be used by all modules, you could create a new module with your third party library and dependences and be used by your modules. To explain this we will use JasperReport third party library. Supose that you have a module that uses JasperReport to generate PDF files....

18312
thumbnail

I wrote blog for theme development with IDE . Further I explored the way to configure gradle project. I would like to share those steps that I have experienced hard to find and many developers I saw asking for the same thing on the forums. Gradle Configuration   By default, if we create theme using IDE it templates are built using freemarker and parent theme is...

7723
thumbnail

The Liferay ecosystem is richer than ever, and our community members have never been as global. Each one of us has different interests and with all this diversity, it gets hard to understand the people behind our community. This is where this survey comes in: we asked 28 questions, covering topics going from favorite projects all the way to events and user groups. In total we had 393...

15502
thumbnail

This year, the Knowledge Management team at Liferay set out not only to document Liferay 7/DXP, but to document it well. To do this, we identified several improvements we wanted to make: We wanted to connect powerfully with users and customers. To do this, we made a significant effort toward documenting the right things, the things people needed the most to learn about. We...

14523
thumbnail

Liferay provide OOTB features for Preview of Documents (PDF,  Word, Image), Media (Audio and Video) in Document and Media Portlet.  The same is available after installing following components ImageMagick -  To convert into images for preview Ghostscript  - Dependency of ImageMagick Xuggler  - For Audio and Video.  Has to be...

8829
thumbnail

Liferay Theme generator tool is an easy way to create themes in Liferay v6.2 and 7. You would not need SDK for this but remember that there are some prequisities in terms of installation and configuration of few components before you can actually create theme and deploy to your Liferay. Sharing this quick and short article on to highlight what are those key components to be...

7998
thumbnail

Yay, it took a while to get onto it again, and finally I updated Custom Navigation and it just went through the approval process yesterday. Now it's available for Liferay 7 and DXP as well. What does it do? If you've wondered why Liferay defaults to showing only the public pages, or only the private pages in the navigation, never both together, this plugin is for you. Now...

11853
thumbnail

Introduction OSGi Fragments are a really powerful tool to extend the features of an existing bundle. Indeed, since fragments share classpath with their host bundle, they allow us to implement new functionalities avoiding unnecessary resource replications. Nevertheless, there are two main limitations that must be taken into account: since fragments never reach the Active...

11261
thumbnail

Previous parts of this series can be found here (part 1),  here (part 2), here (part 3) and here (part 4). In the final part of this blog series few more interesting features are added to the previously created search portlet: possibility to use Liferay Audience Targeting to make segmented content more relevant, possibility to configure sort and facet...

17108
thumbnail

Liferay Integration with Analytics 1) With Google Analytics Set up an account with Google Analytics: https://analytics.google.com/ This will create a Tracking Id   Configure the Tracking ID In liferay Configuration --> Site Settings --> Analytics A Tracking Code will be generated which can then pasted in JavaScript of the Liferay...

11983
thumbnail

This blog entry is part of a three-part blog series that explores some of the great features provided by Liferay Screens and Liferay Mobile SDK. In this this series, I will cover: Liferay Screens – Use screenlets in your native Android or iOS app to leverage content and services available on your Liferay server Liferay Push Notifications – Push offers and...

7594
thumbnail

Description: For Servlet configuration in Liferay DXP portlet,  we will need to make necessary changes to the configuration files. Start with making a plugin custom portlet and add a servlet to this portlet, then do following configurations   Step 1:  Make sure bnd file has web context path (bnd.bnd) Bundle-Name:...

7875
thumbnail

2017 was a great year for the Liferay Community. Many things were accomplished and we know that there are still many things to be improved. We created a new website where you can discover and stay up to date with new projects. We launched a new chat where you can talk with 600 other community members. We started to revamp user groups all over the world. And with your help, we...

13367
thumbnail

This blog entry is part of a three-part blog series that explores some of the great features provided by Liferay Screens and Liferay Mobile SDK. In this this series, I will cover: Liferay Screens – Use screenlets in your native Android or iOS app to leverage content and services available on your Liferay server Liferay Push Notifications – Push offers and notifications...

9628
thumbnail

We just released latest version of blade cli that includes all of the new npm frontend project templates. This also bumps the rest of the project templates to use latest versions of Liferay gradle and Liferay workspace plugins. To update simply do $ blade update or for those that haven't installed blade yet, follow the guide here: ...

15428