MODX Articles - Open Graph Protocol

MODX is a free open source content management system. I use MODX because I think it is the best CMS for building websites. It gives you creative freedom but also allows you to build powerful secure web applications.

These articles are to help and remind me how to do certain things, and I hope other MODX users will also find them useful too.

My cheat sheets and reminders for working with MODX

MODX: How to get the first image from a blog post for the Open Graph Protocol HTML head tags

You could use a MODX template variable to associate an image with the Open Graph Protocol meta image tag. But that is an extra field to fill in for the user. It cuts down the work if you could automatically grab the first image that is used in the article. This article shows how.

MODX Categories
MODX Archives