Blogs

RSS
RSS
thumbnail

Download options Liferay Portal and Liferay Commerce share the same Bundle and Docker image.  To get started using either Liferay Portal or Liferay Commerce, choose the best download option suited for your environment below. Docker image To use Liferay Portal 7.4 GA3 and Liferay Commerce 4.0 GA3 run the following: docker run -it -p 8080:8080 liferay/portal:7.4.2-ga3 For more...

577
thumbnail

NOTICE: This blog  post has Spanish and English version. Cuando empieces a crear un sitio web de comercio electrónico con Liferay Commerce, es posible que te enfrentes a un requisito muy común del cliente: la personalización del "Mini Carrito de compra", AKA el mini-cart taglib. Para empezar a hablar sobre el tema, por si aún no lo conocías, existe un Widget de Mini-Cart y una...

2436
thumbnail

NOTICE: This blog  post has Spanish and English version. When you start to build an e-commerce website with Liferay Commerce, you might be faced with a requirement from a customer to personalize the “Mini Shopping Cart”.  You can use a Widget Display Template to create your own entire custom style and apply it to the “Mini Cart” module. But suppose you want to make just a...

1827
thumbnail

Introduction A client asked me to build a React portlet for them and I was like, "Oh Yeah!" I mean, it's been a while since I built a React portlet and tooling has really changed a lot since then, so I was really looking forward to this new task. So without further ado, I'm just going to dive right in... Creating the Module Okay, so this is still Liferay and still OSGi, so we're going to be...

1655
thumbnail

Introduction So I was recently asked to help build a custom Liferay docker image for a client and there were some specific requirements such as: Should not contain hard-coded credentials, those will be available as environment variables. Should be a single image that can be used in every environment, DEV, UAT and PROD. Now these kinds of things can be challenging to do if you were to...

1770
thumbnail

Each year at about this time I try to post the download stats for the Liferay Faces project. I am pleased to report that downloads for the Liferay Faces project hit another all time high back in September of 2020, and held fairly steady until January of this year (2021). Downloads seem to take a dip after the holidays, so perhaps that's why we saw a drop-off in February. Since then,...

2309
thumbnail

Introduction Recently I asked some of my teammates for ideas about what to blog about next. Most of the time I take my inspiration from different clients I work with or questions that come up on the Liferay Community channels, but lately the well has seemed kind of dry. So I went fishing for suggestions. My friend Andrew Betts, who happens to be in the Liferay DXP Cloud (DXPC) team suggested...

1859
thumbnail

If you’ve ever looked at a Liferay workflow implementation and its scripts, you might have seen workflowContext being referenced in the scripts that are executed in the individual tasks and states. I’ve recently had my first scripting contact with Workflow, and wanted to look at this context, and what it can do for me. Digging a bit, you’ll find out that workflowContext is a Map<String,...

1384

After doing multiple rounds of search over the internet about using IN parameter in Custom SQL in Liferay but without any satisfactory results, I assumed probably this could never be achieved in Liferay. However a few days back when I was looking at the code I thought about a tweak that could be applied if we have a use case that pertains to the mentioned scenario. I applied the same and lo! It...

874
thumbnail

The Liferay Portal 7.3 CE GA8 release is primarily focused on fixes so no new notable features will be introduced with this release. Download options Choose the best download option suited for your environment below. Docker image To use Liferay Portal 7.3 CE GA8 in docker, run: docker run -it -p 8080:8080 liferay/portal:7.3.7-ga8 For more information on using the official Liferay docker...

2414
thumbnail

Esta entrada de blog  está también disponible en español.One of the most common needs that we face in Liferay Portal / DXP installations is the monitoring, as well as the alert system that alerts us if something does not work as it should (or as expected)Whether it is a web service managed in the cloud, a virtual machine, or a Kubernetes cluster, we need to monitor the entire...

1154
thumbnail

When we think about having different authentication types we commonly think about one fluid and intuitive screen to guide the user through this process. And why is that? It’s probably because logging in is a mean to an end, as a user is often trying to pass this step to achieve a broader goal. With this in mind, it is very important to make logging in smoothly and easily.A logging in process...

930
thumbnail

IntroductionAs many folks know, I'm known for telling people not to look inside the Liferay database itself. It's not always clear what is what in the DB and Liferay has a lot of code around retrieving and updating data that you likely will not get completely right if you were to update the DB directly.I typically end with "Always, always use the Liferay API for your data needs..."And, if...

871
thumbnail

The new Liferay IntelliJ 1.9.3 plugin supports IntelliJ 2021.1. Head over to this page for downloading. Release Highlightsimprove validation for package name in new spring mvc wizardbug fix for rerun a docker serverimprovements on creating liferay spring mvc portlet projectsupport creating a liferay server outside of liferay workspaceadd validation to unable new docker server...

824
thumbnail

Announcing Liferay Commerce 4.0 GA2We’re excited to continue expanding and improving upon the Liferay Commerce product. The latest version of Commerce offers some minor SEO improvements and many bug fixes.Download optionsLiferay Portal and Liferay Commerce share the same Bundle and Docker image.  To get started using either Liferay Portal or Liferay Commerce, choose the best download...

1503
thumbnail

Announcing Liferay Portal 7.4 CE GA2Liferay Portal 7.4 CE GA2 marks the second major release in the 7.4 release cycle.  Although released later than  hoped, Liferay Portal 7.4 CE GA2 continues following the rolling release cycle announced last year for 7.3.  Liferay Portal 7.4 CE GA2 contains many exciting new features across almost every aspect of the platform with many new...

2268
thumbnail

So some time ago I wrote the Cluster Details marketplace plugin. Basically you drop this guy into all of your Liferay clusters and you get a nifty little control panel that tells you details about the cluster, all of the nodes which have joined the cluster and it identifies who the leader of the cluster is at the moment:Not super complicated, but it is a handy little tool to identify details...

920
thumbnail

The new Liferay IntelliJ 1.9.2 plugin supports IntelliJ 2021.1. Head over to this page for downloading. Release Highlightsenable docker suppportrestructure new liferay module wizardsimprove validation on project name in new liferay module wizarddisplay gogo shell port in liferay server configurationupdate embedded blade cli to latest 4.0.9 SNAPSHOTsupport deploy projects to a...

780
thumbnail

The following versions of PortletMVC4Spring were released on June 2, 2021 AD:VersionDescription 5.3.0For use with Spring Framework 5.3.x (tested with 5.3.7)Release Notes5.2.2For use with Spring Framework 5.2.x (tested with 5.2.15.RELEASE)Release Notes5.1.3For use with Spring Framework 5.1.x (tested with 5.1.20.RELEASE)Release Notes For download coordinates and archetype usage, see the project's...

766

 You can configure the site page with above shown string and fetch it using below code :ServiceContextThreadLocal.getServiceContext().getRequest().getParameter("srce")orParamUtil.get(ServiceContextThreadLocal.getServiceContext().getRequest(), "srce", "")You can also fetch this in velocity template :#set ($serviceContext =...

745