Skip to main content
11
results
Andrew Fletcher
Installing PHP on OSX and it installed PHP 8.2.x.  However, for my applications I need to run 8.1.x.  How do you switch the current PHP version?   Current version Check the current PHP version by executing the command php -vResponse: PHP 8.2.2 (cli) (built: Feb 5 2023 12:38:16) (NTS) Copyright (c) The PHP Group Zend Engine v4.2.2, Copyright (c) Zend Technologies with Zend OPcache v8.2.2, Copyright (c), by Zend Technologies  Unlink PHP To change your PHP version, begin...
Andrew Fletcher
Regular commands for brew   Brew update This updates Homebrew itself....
Andrew Fletcher
In terminal I ran a regular command - compose update.  Something I've...
Andrew Fletcher
Working in Laravel, I needed to loop through an array and know whether the...
Andrew Fletcher
Step 1: Install Homebrew Homebrew is the missing package manager for macOS. As...
Andrew Fletcher
Setting up the mail configuration in October CMS is a quick progress.  Depending on which mail method you use there are up to eight fields to complete: Sender name; Sender email; Mail method: (PHP mail, Sendmail, SMTP, etc...).  I elected to go with SMTP;  SMTP address - such as smtp.your-domain.com or mail.your-domain.com; SMTP port - 587; SMTP encryption protocol - TLS or SSL; Authorization required - boolean response; Username - email account; and Password -...
Andrew Fletcher
The purple warning notification of annoyance recently came my way!  I...
Andrew Fletcher
Common commands Themes and plugins have similar command lines.  So rather...
Andrew Fletcher
At times while developing in October CMS, you will perform a step that kills the...
Andrew Fletcher
Using October CMS to migrate your site and update the tables with the plugins...
Andrew Fletcher
Building a contact list using SwiftUI has many challenges. One challenge is having multiple lists displayed on the one screen.  For example, known contacts using your app against contacts on the phone.  Initially, I tried the following code SearchBarView(text: $searchText, placeholder: "Type here") List { Section(header: ContactListHeader(listTitle: "rivals list")) { ForEach(self.userData.rivals.filter{ self.searchText.isEmpty ? true : $0.name.lowercased() ...