The Blog

Statamic

Antlers Conditional Parameters Using void Parameters

John Koster
John Koster
April 18, 2022

In this article we will look at a way to conditionally add or remove tag parameters without requiring duplicate code, or large if statements.

Statamic

Creating a Content Reaction System with Statamic 3 and Antlers

John Koster
John Koster
December 12, 2021

This article covers a variety of intermediate-to-advanced Antlers topics by implementing a visitor reactions system using Statamic 3 and Antlers

Statamic

Creating a Stacked Content Layout with Statamic 3 and Antlers

John Koster
John Koster
December 5, 2021

This article covers creating a stacked content layout with Statamic and Antler by utilizing array access features.

Statamic

Creating a Statamic Compact Modifier

John Koster
John Koster
November 7, 2021

Throughout this guide we will explore Statamic modifiers by creating a modifier that will allow us to iterate multiple Antlers variables.

Statamic

Using Modifiers in Antlers Dynamic Bindings

John Koster
John Koster
November 7, 2021

Utilizing modifiers within Antlers dynamic bindings can be a powerful way to simply templates.

Statamic

Creating a Custom Statamic 500 Server Error Page: Part Two

John Koster
John Koster
September 12, 2021

Creating a dynamic Statamic 500 Server Error page is a relatively simple process, as well as developing a custom Antlers tag to help test it.

Statamic

Enabling Database Users in Statamic 3

John Koster
John Koster
February 20, 2021

In this article we look at solving two errors ("password_activations" or "password_resets" database tables not existing) that can appear once a Statamic 3 site has been configured to store users in a database.

Statamic

Integrating Laravel Spark, Stripe, and Statamic 3

John Koster
John Koster
February 20, 2021

In this article we will start with a fresh Statamic 3 website based on the Cool Writings Starter Kit, integrate Laravel Stripe, and develop customer Antlers tags that can be used to selectively restrict access to premium content.

PHP

Implementing a Customer Domain Specific Language Parser in PHP

John Koster
John Koster
February 15, 2021

Implementing a custom domain specific language parser in PHP, from scratch. Our language parser will parse a custom query filter language.

C#

Implementing C# Events

John Koster
John Koster
January 7, 2021

C#'s event features are an elegant wrapper around the delegate type, making it incredibly simple to create custom events, and consume existing events.

Latest posts

That Escalated Quickly: All the New Things

The past six months or so have been incredibly busy. What started as a new article series about cust...

Read more
Troubleshooting a Statamic Illegal Offset Type Error when Viewing Collection Entries in the Control Panel

In this post I talk about how I resolved a mysterious illegal offset type error when viewing collect...

Read more
Creating Simple HTTP Redirect Routes from a Statamic Site

Generating a custom Laravel routes file from a Statamic website to redirect to a new domain.

Read more
Disabling Vite File Hashes

Disabling file hashes in Vite output can be accomplished by modifying your project's vite.config.js

Read more
Implementing a Custom Laravel Blade Precompiler for Volt and Livewire

Learn how to implement a custom component compiler for Laravel's Blade templating language in this p...

Read more
Creating a Hybrid Cache System for Statamic: Part Five

Part 5 of 6 covers implementing a cache namespace and labeling system, which we can use to target mu...

Read more