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 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.
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.
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.
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.
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!
A look back over 2024, a year dominated by travel and friends ‒ and, particularly, travel WITH friends!
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.
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!
CraftCMS has a habit of imploding when running software updates, for which I have developed several coping strategies.
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.
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 look back and a look forward... it must be the start of a new year. 2019 held a lot of change and personal improvement, but I can't help but feel that 2020 is going to be a big one. So what exactly do I have planned and what am I hoping for the next 12 months?
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.
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.
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 …
We have seven days in a week, 24 hours in a day – but what does that actually mean when trying to set aside time to work on side projects? Once you take into account work hours, time to eat and sleep, and everything in between, is it all as bad as it feels?
I finally made it to an IndieWebCamp meetup, even if it was remote only due to the increasingly restrictive implications of the coronavirus. I learnt a lot, I had a great time, and I'm ready to start implementing a whole bunch of new ideas right here. I also took a huge number of notes from the speakers and sessions throughout the day.
Notes from the 2020 Jamstack Conf. Some interesting dives in the Jamstack community and various applications of Jamstack technologies, with tweet threads as usual.
IWC London was one year ago today. When it came to an end, I felt like I finally understood the IndieWeb. I was wrong.
I finally made it to an IndieWebCamp! It was a huge amount of fun and left me with many ideas, thoughts, and questions.