Creating a customized view of Contentful checkbox

by Kenneth Sætereng

My goal with this app was just to be able too show a normal checkbox instead of two radio buttons for the Boolean fields in Contentful, after one of my colleagues reached out to customer support with the response: - Thanks for reaching out to support. Currently the field appearance…

Using NDepend to uncover code smells

by Karl Solgård

Code quality should be a high priority for a coder. NDepend is a tool that helps coders to sniff out the smells in their code. After a friendly chat with the NDepend's author, Patrick Smacchia, I got started using the tool on my projects. Installation on Linux The…

Building dynamic URL structures with Contentful and Nextjs

by Magnus Sigvartsen

Set up a parent/child URL structure using Contentful, and resolve the URL and build up the static paths in Nextjs.…

Output cache in Optimizely CMS 12 that vary by visitor group

by Tomas Hensrud Gulla

After I wrote a blog post about Quick and dirty output cache in Optimizely CMS12 [https://blog.novacare.no/quick-and-dirty-output-cache-in-optimizely-cms12/], someone reminded me that this would not work well with visitor groups [https://webhelp.optimizely.com/latest/en/personalization/visitor-groups.htm]. All visitors would get the same cached content, even…

How to make the XhtmlString <p> tag go away

by Henning Sjørbotten

Optimizely CMS is still using TinyMCE for the rich text (XhtmlString) fields. By default, everything you write in these fields is being wrapped in <p></p> tags. These extra tags can be a pain, as they do not always fit with the document structure. You do…

Scheduled Jobs in Optimizely CMS 12

by Tomas Hensrud Gulla

In Optimizely CMS 12 the admin mode is given a real facelift. The new admin mode written in React has risen like a phoenix from the ashes of the old Web Forms admin mode. The scheduled jobs has gotten a facelift too, where the duration of the last executions are…

Nye krav til universell utforming

by Jesper Allermand

Det har kommet nye krav til universell utforming. EUs webdirektiv (WAD) og WCAG 2.1 er nå del av norsk lov. Hva betyr egentlig dette og hva bør du gjøre?…

Quick and dirty output cache in Optimizely CMS12

by Tomas Hensrud Gulla

.NET5 and .NET6 has no concept of output caching, and neither does Optimizely Content Cloud 12. Don't let that stop you from caching your output!…

Use Contentful's image processing to give every user the best image for their screen size

by Bjarte Aune Olsen

With responsive websites, the same image can be displayed on screens ranging from several thousand pixels wide down to a few hundred. It is a lot of wasted bandwidth if the user on a tiny mobile screen has to download an image 2000 pixels wide, only to display it as…

Optimizely CMS 12 can finally convert pages!

by Tomas Hensrud Gulla

Optimizely CMS 12 can finally convert pages from one page type to another! Great! But what about blocks and media...?…