Magnolia CMS - Freelance Developer

Hotswapping Java code

Hotswapping Java code is a technique that can save a lot of downtime for programmers when they are working with web applications that take forever to start up. Recompiling and reloading the changed classes allows you to see the effect of code changes while the application remains up and...

Magnolia (CMS) - batch import XML files into JCR

Magnolia (CMS) - batch import XML files into JCR

The importer of the jcr-tools is very limited. You can only import one file at a time. Once you have uploaded a file, you also need to select the corresponding workspace. With many files to import regularly, this can be quite tedious. That's why I wrote a quick and dirty Groovy script. It automatically...

Magnolia (CMS) - always show edit bars

Magnolia (CMS) - always show edit bars

My client wanted all edit bars to be visible at all times and not only when they have focus, similar to how it was in 4.4. There is a simple solution for this. Simply add the following to your stylesheet: .mgnlEditorBar{display: block !important;} Since 2003, I have been working as a freelance developer...

Replace UUIDs (in OpenCms or Magnolia)

Replace UUIDs (in OpenCms or Magnolia)

In content management systems like OpenCms or Magnolia, you often run into the problem of having to replace UUIDs. I wrote a little Bash script for that. import info.magnolia.importexport.DataTransporter import javax.jcr.ImportUUIDBehavior import groovy.io.FileType def list = [] def dir = new...