Phone number validation

Often times you need to validate phone numbers in a particular format that should be used across the website. Rather tha requiring you to use a certain phone number format, Bolt allows you to define your own validation rules for field values. In this example, I'll show you how to require editors to input the desired phone number format.

Fields Validation Regex Phone Telephone

Written by Ivo on Wednesday July 1, 2020.

Reporting issues effectively

It happens very often that people are looking for help on some topic, and they find it's hard to get a good answer. In this article, i'll share a few tips that make it easier to pose a good question, that'll get you results quicker.

News Help Support

Written by Bob on Wednesday June 17, 2020.

Search on ContentType listing page

Often times people are looking to create a simple search on the listing page (for example, to search blog posts, news, events, etc.). In this article, I'll share how to do that easy-peasy in twig itself.

Search ContentTypes

Written by Ivo on Monday June 8, 2020.

Setting up a local development environment

Even though the entire world is in chaos at the moment, we’re nearing the release of a stable Bolt 4.0 release. There’s still some work to be done: More documentation needs to be written, and there's undoubtedly a few bugs to be fixed, but we’re getting there.

The installation part of the Bolt documentation talks about how “developing on a live webserver” is not best practice, and just tells you to use a local environment instead. The thing is, “just” is a terrible word to use in documentation. It makes a ton of assumptions about people’s skill level, background, preferred working style and more. So, instead of telling people to “just use a local environment”, I’m going to write a series of articles about how to set up a local environment on your workstation to get you kickstarted on developing websites with Bolt.

In these articles I’ll attempt to find a balance between doing things to makeshift and going overboard on procedure. This means that we’ll get things up and running on the command line, using freely available tools.

Here are the topics I’m going to cover:

  1. Getting up and running with the Command Line / Terminal
  2. Making sure we have a proper version of PHP and a database on our system
  3. Installing some essential tools like Composer and the Symfony CLI
  4. Running a webserver
  5. Setting up your Bolt Project
  6. Configuring your editor / IDE
  7. Getting started with Git

This seems like a lot of steps before we get to our initial goal of having a working environment for Bolt. But, I can absolutely guarantee you that the time invested in the steps that precede it will change your way of working forever.

Initially, I’m going to focus on MacOS, because that’s simply what I’m most familiar with. If there’s interest, I’ll make a version that’s suitable for Windows too.

Local Development Environment

Written by Bob on Tuesday April 21, 2020.