Creating content migrations in Craft CMS
Read NoteA useful primer on how to use migration files in …
theAdhocracy
A useful primer on how to use migration files in …
I got annoyed having to manually markup inline code for blog posts so I dug around in the Redactor documentation and worked out how to create a keyboard shortcut instead.
I frequently save a draft post in Craft only to realise it's set as live. Luckily, for me that doesn't massively matter as it's all API driven, but still it's nice to be able to change the default.
Every time I upload a GIF to this website it ends up rendered as a single frame. It's taken me quite a while to get to the bottom of why that is.
A clever, open-source CMS designed for static site generators like Eleventy, Astro, and Hugo which use Markdown files and frontmatter metadata. The CMS itself runs directly in your IDE, giving you a …
Static sites don't make search functionality easy, but luckily there are some excellent services that do. I've been messing around with Algolia and finally have it working with Craft and Gatsby the way I want it... on the backend, at least.
Having hooked up Algolia with my Gatsby build pipeline and populated a search index from my Craft CMS API, the next step was the build a frontend UI to enable users to actually query my posts. It turned out to be a pretty simple process.
The search page is live, the index is populated, but it all looked a bit rubbish and it didn't quite work as well as I wanted. Now it's using custom-styled components, queries are tracked/stored via the URL for persistence, and you can filter results based on category.
Prose is a service that connects with any GitHub repo you want, and then lets you edit Markdown and plain text files directly from a dedicated text editor. Particularly useful for people using GitHub …
Very high level guide to getting webmentions on your website, tracking them, and automatically pinging linked sites when you …
Craft 5 introduces entry-based Matrix fields, but being able to see the entries created this way is surprisingly tricky. Thankfully, it can be done!
Migrating assets to a new CMS can be a complete pain, but working out which files go with each page or article on a website doesn't have to be a nightmare if you start with a solid foundation. For me, that means tightly coupling my folder structure on the server with my content structure on the website, a workflow that Craft is particularly nifty at automating.
Craft CMS has the ability to accept environment variables as well as aliases. It can be worthwhile understanding how these two seemingly similar concepts differ, and when you might want to use one over the other.
Welcome to the third version of theAdhocracy! It's been a long time coming, but the site has finally been rebuilt, rehosted, and re-just-about-everything else, so I figured I'd actually formalise the launch with a new post explaining what's happened and why.
A step-by-step guide to installing Craft CMS 3+ on the Arcustech hosting services, because sometimes all the command line steps can seem a little daunting if you aren't used to it!
A fascinating breakdown of how the early web was forever changed by one of the first truly popular CMSs: MovableType. Most importantly, this is the likely culprit as to why so much of the web is now …
It turns out that there are a lot of gotchas to creating a clear category structure for media reviews. Well, after a year of messing around with various setups behind the scenes, I think I'm starting to get somewhere.
When using Craft in a headless configuration, your entry URIs will default to the wrong domain and won't be properly configured to match your actual site structure, but that can be fixed.
At the start of the pandemic, Eric made a strong case that all critical websites needed to rapidly optimise for high traffic and accessibility (here very much meaning both a11y and device/situation …
CraftCMS has a habit of imploding when running software updates, for which I have developed several coping strategies.
A look at the largely manual workflow I've used to convert my physical music collection into a digital data archive.
Craft CMS can be a very enjoyable mobile authoring experience, but it can be improved with some clever plugins and a few relatively new core features.
For the last month, I've been getting show-stopping errors in Craft. My web host couldn't find any faults, Craft support had no clue, and it only affected one machine: one with Bitdefender installed. I wonder...
Various notes from my battle to get a local development environment working for Craft CMS.
Migrating content between fields in Craft is not as simple as it might be. In the wake of Craft 5, I've been getting a lot of practice, and wanted to write up some of the techniques I've been using.
A look back over 2024, a year dominated by travel and friends ‒ and, particularly, travel WITH friends!
100 words should not be a hard concept. I mastered counting to 100 at least a decade ago. Yet, I have absolutely no idea whether any of my "100 words" contain 100 …
Thanks to the constant barrage of live music over the last week, I've been frequently pondering my Last.FM API hack. Coco and the Butterfields seriously highlight the Last.FM problem: since Monday …
It's that odd time of year, the bit between Christmas and New Year where time doesn't really flow like you expect it to. No one knows what day of the week it is and everything seems to be …
Well, we did it: we made it to 2019! 🎉 …