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...

Whitespace in Tomcat with Magnolia (CMS) or OpenCms

Whitespace in Tomcat with Magnolia (CMS) or OpenCms

If you have worked with Magnolia (CMS) or OpenCms (or JSPs in general) before, you may have experienced the problem with unwanted whitespace in the resulting HTML. Of course, in Magnolia, you rarely work with JSPs anyway. There are ways to avoid this by configuring the web.xml in the following way:...

How to change the language of pages in OpenCms

How to change the language of pages in OpenCms

I wanted to change the language of pages in the control code. There is something in the "Content Tools" of OpenCms called "Change Element Locale", but that only changes the locale-property on pages. So I exported the content (Export Database), unzipped it, and used the following bash command: find...