Entries with tag liferay times .

We know expando can be a bit confusing sometimes especially because one needs to understand the tables it requires to use the API. This can be confusing for someone that is learning Liferay or trying to develop their first custom field based feature. In this post we will show you an example on how to use custom fields to locate assets in Liferay; we will be searching according to custom fields' values, instead of just... Read More AboutSearching by custom field values »

If you are here, you are probably looking for a way to translate some language keys for your application and probably read Liferay's official guide looking for a simple way to do it. Importunately, the guide does not look like what you would expect, with many steps and unnecessary explanations. It even tells you to go to a repository looking for jar files, only to read metadata that you could easily just get from GitHub. In this post I will... Read More AboutOverriding A Module’s Language Keys »

Are you a front-end developer entering a project that has being going on for a while? This mini tutorial will show you how to get started as quickly as possible so you can work on your designs. This particular tutorial will be directed to front-end developers that have never worked with Liferay before and seek to understand how they can use their skills and experience gathered from previous assignments in a Liferay project. First of all, you... Read More AboutLiferay projects for front-end developers »

Let's say for instance you need to modify the level used by a logger created by Liferay and not exposed for customization/modification in an easy to change location, one could create ext plugins or use "clever" ways to adjust the configuration files somehow.  But the good news is that Liferay does expose an easy to access point for customization of any logger configured in portal-log4j.xml, although they use an ancient set... Read More AboutCustomizing portal-log4j.xml »

Web content is a pretty general way to characterize a piece of structured content that can be easily reused in Liferay. It is only natural that people will use it for their specific needs to solve their own problems in different ways. In this small article, we will see how to change a key aspect of editors to solve an issue that emerges exactly because people have varied requirements for their systems. More specifically, we will discuss... Read More AboutEditor Configuration Contributor »

More often than one would wish we find ourselves trying to remember the API we need to create URLs out of a JSP, and some will end up finding ways to leave this task to a JSP somehow, even when they need it in several JSP files or a JSP tag requires a URL object  not accepting Strings (more on that later), among other cases. Let’s start simple, in a JSP it is trivial to have a piece of code like the following: <portlet:renderURL... Read More AboutHow can you create MVC URLs? »

So, I heard some people like MVC commands so much they try to make it for their default view. Normally, when I see this topic they are looking for a way to keep their portlet classes short and have consistency with regards to where the different views are coded and how. (of course I am using the term view rather informally). Just to put some points in order before going further. We have several ways to implement a portlet, normally,... Read More AboutMVCRenderCommand as default »

It was a beautiful raining morning, when I took advantage of the long weekend to poke around and check how Liferay is using its new taglib Clay, in Liferay 7.1 and 7.2. As beautiful as the morning was, the experience was not that great. As I loved their website and was looking forward to start using Clay, I started browsing... Especially due to this note from their website: Note: AUI taglibs are deprecated as of Liferay Portal CE... Read More About Double Curly Braces Anti Pattern »

This post is a simple example about how to add CSS files to your portlets in Liferay 7.x ( for OSGi based portlets ). Let's start with a simple portlet: @Component( immediate = true, property = { "com.liferay.portlet.display-category=category.hidden", "com.liferay.portlet.instanceable=false", "javax.portlet.portlet-mode=text/html;view", ... Read More AboutStyling Custom Portlets »

When you start Liferay 7 up, you'll probably notice it stopping for a "quick" integrity check for its LPKGs. This was supposed to be security measure which was used to verify that the LPKG files have not been compromised, maliciously or not. This is just too painful, specially,  during development phases. In production, this becomes an issue for availability when servers need to be restarted and new servers created. Liferay... Read More AboutDisabling LPKG Index Validation »

We know Liferay is not the most EL friendly piece of software out there, but lots of people do like to be able to user EL. In this post I will show you a simple way to access your portlet namespace using EL, and better yet, get rid of the numerous <portlet:namespace/> that are usually scattered around. The ideal is simple: just put it in a variable using <c:set>. Let's see this in action via this extremely simple snippet.... Read More AboutAccessing your portlet's namespace in EL »

Zipping in Java small image

Building Zip files was always easy in Java, but it was always also kind of awkward, and this is because one had to normally go through 3 steps, create the zip output stream, insert an entry and add the bytes for each entry. This is the kind of a weird sequence that leads several to feel that it is easy but it could be better. Liferay for instance uses an ancient library to build files in a easier process, which also works in a... Read More AboutZipping in Java »

New Liferay image small image

We will be releasing a new image today, for GA6. This release will use the same building processes and bring all features we built for GA5. As always you will find that Tomcat differs from Liferay's bundle, as it uses Tomcat 8.0.32, while our image is based on Tomcat 8.5.29 in todays date. For specific information about GA6, please visit https://community.liferay.com/news/liferay-portal-7-0-ce-ga6-release/ To get you image, please... Read More AboutNew Liferay image »

New Liferay image combo small image

We have just updated our Liferay related images! New and Fresh! OK, we are always updating them, almost daily (mainly for security reasons). This time, though, we included extra features to help with container management, and moved to a new Debian version. As we were seeing people with issues related to their volumes and what happens when a new version comes around, sometimes bringing new user and group IDs. We fixed Elasticsearch IDs,... Read More AboutNew Liferay image combo »

Preparing your IDE for Liferay small image

Many developers may feel overwhelmed when they come to meet Liferay for the first time, and it is perfectly natural. Liferay is a bit odd in the Java universe and even experient engineers might need some time to adjust. The underlining reason for this awkward element in this huge universe is the fact that it was meant to grow, and it does grow; as several were, but Liferay is different (especially, Liferay 7). Being based on a... Read More AboutPreparing your IDE for Liferay »

New blog app small image

We have just released a new blog application for liferay portals! Ok, this is not really exciting... but behind our app there is a live test of a new metadata generation engine we prepared for Liferay portals that have an active blog. This one is the cool part and the reason why we are posting it here. This engine is the second module we released to generate dynamically collected metadata for search engines, especially Google. We will ... Read More AboutNew blog app »

Liferay Portal 7.0 CE GA5 Released small image

Liferay Portal 7.0 CE GA5 Release was made public, they just forgot to tag it on GitHub. If you are like me, who is always looking at the source code to keep in touch with what is going on... you might have missed this one (I almost did). You can get it here: sourceforge Keep an eye on our docker images, we are testing GA5 ! PS: they also forgot this little fellow: upgrade.processes.7003=${upgrade.processes.master} update: The... Read More AboutLiferay Portal 7.0 CE GA5 Released »

This post seeks to illustrates how one can assemble a simple query to find web content items through tags. For instance, in this example our goal is to find all pieces of web content that are linked to any of the tags in a set provided as an array of tag names. First, let me show you why I am choosing the asset query to build this example. As one can see in this code snippet, after the query is ready, its use is trivial. List<... Read More AboutLocating web content via tags »

From the user interface we know that Liferay stores its content within several types of structures, some come with Liferay while others are created by us, as in : https://dev.liferay.com/discover/portal/-/knowledge_base/7-0/designing-uniform-content This post will show how we can access elements of any piece of content - a JournalArticle, which is represented as XML within Liferay’s database. The example that follows is intended to... Read More AboutGetting web content fields »

Yesterday I participated in a Liferay demoing event and felt compelled to write a new product review. If you read my previous review, you would probably be concerned about adopting Liferay 7 in production, and you should be, as it demands a certain due diligence to be actually suitable for big projects. However, must of my points are no longer relent with GA4, which is the first of its line we evaluated as fit for use. Liferay was... Read More AboutLiferay Digital Experience Platform Review - 7.0 GA4 »

— 20 Items per Page
Showing 1 - 20 of 40 results.