/ #magnolia  #marketing 

Matomo analytics with Magnolia Marketing Tags

It seems there are more and more people not wanting to rely on services provided by one of the internet giants because of data protection or legal issues. And one of the most essential services for a professional website is surely analytics. The most prominent tool for website analytics comes from Google and it is widely used. As CMS vendor with a “best of breed” approach Magnolia provides modules for the integration of Google Analytics and Magnolia. ...

Lars Fischer
/ #magnolia  #java 

Setup Magnolia and PostgreSQL under MacOS

This article is about developing with Magnolia and PostgreSQL as persistence layer under MacOS. It show’s how to setup your machine and provide a Magnolia configuration to make use of a Postgres database. Install PostgreSQL If you don’t already have a running Postgres database engine, I recommend to download the following tools: Postgres.app Optional: pgAdmin Optional: pgweb (make sure you download the darwin version) Install Postgres.app, initialize the server and start the Postgres service. ...

Lars Fischer
/ #magnolia  #groovy 

Create a report showing asset sizes in Magnolia DAM with Groovy

Sometimes editors want to know where big assets are “hidden” in Magnolia DAM. For a project I quickly created a Groovy script for creating a report listing assets ordered by size. I used Magnolia’s Groovy App to develop and test the script: Groovy script import javax.jcr.PropertyIterator import javax.jcr.Property import java.text.NumberFormat import java.text.DecimalFormat import org.apache.commons.lang3.StringUtils def assetPath = "/" session = MgnlContext.getJCRSession('dam') root = session.getNode(assetPath) // sep char for importing into Numbers / Excel sep = ";" numberPatternMB = "###. ...

Lars Fischer
/ #magnolia  #howto 

SSO Series - Setup Magnolia with LDAP and ApacheDS

This post serves as documentation on how to setup Magnolia CMS with the LDAP Connector module connected to ApacheDS. Especially for testing, ApacheDS is very handy to setup and it provides a user interface to get started fast. In addition to that, it’s also much easier to remove from your machine than software libraries spread all over your system. Testing environment macOS High Sierra ApacheDS 2.0.0 Magnolia CMS Enterprise Edition 5. ...

Lars Fischer
/ #magnolia  #howto 

Return of the walking dead part II - Avoid changing the status of child nodes in pages and assets

Before you go on The changes described in this article are primarily for educational and learning purposes. The current logic used when renaming websites and assets in Magnolia is not a bug, it’s wanted behavior. There still might be cases when a customer requests pre-existing functionality, so the solution described here might be helpful for you - but as always: Do extensive testing when changing core Magnolia configuration and use the samples at your own risk! ...

Lars Fischer
/ #magnolia  #webservices 

Creating custom REST endpoints in Magnolia

Recently I had to provide several web services for creating application data in a Magnolia CMS app by using REST interfaces. If you haven’t already, I would suggest you first read the excellent official documentation about REST based web services available from Magnolia (see end of article for resources). You can find the code on GitHub, everything is contained in a Magnolia module based on Maven. Use cases provided In this article the following use cases will be covered: ...

Lars Fischer