Skip to main content
127
results
Andrew Fletcher
Working in Laravel, I needed to loop through an array and know whether the current loop was odd or even row.  To do this add the expression to your Twig file: {% set direction = loop.index0 is odd ? 'left' : 'right' %}In the call above, the variable direction is set to either left or right depending on the value of the position of the loop row (loop.index0).  I then used the left or right value in a div class adding to a series of tailwind css definitions.  Such...
Andrew Fletcher
Working with buttons To begin, what is a button in SwiftUI? struct MainView:...
Andrew Fletcher
I need to set the default php-version of a subscription to php7.3.  The...
Andrew Fletcher
Setting up the mail configuration in October CMS is a quick progress....
Andrew Fletcher
Don't worry this is an issue that many Drupal developers have come across....
Andrew Fletcher
Working on a new CentOS 7 server, Node wasn't installed.  You can quickly this through using the prompt node -v node not foundIn Plesk, the extension had been installed, however this doesn't mean correctly.  So I needed to install Node and npm on the CentOS 7 server.   Installing nodejs and npm To get the curl for v14 go to https://github.com/nodesource/distributions#rpminstall and you'll see that the most suited is  # As root curl -sL...
Andrew Fletcher
Using a Centos 6 or 7 server, how to check the current version of Apache? httpd...
Andrew Fletcher
When those simple annoyances are too frustrating!  Yes we have all been...
Andrew Fletcher
Post the recent update to Xcode 12.x (12A7300), I found opening an app...
Andrew Fletcher
Attempting to load changes in a staging site and the bountiful error page...
Andrew Fletcher
(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server Set up: Plesk Obsidian 18.0.28 Centos 7 Like any error that pops up, the real check is how do you react? Keep and calm and investigate - even if colleagues are stressed out;  Grab a stress ball and work on it hard; or Join and stressed out party and lose perspective. I haven't seen this one before.  A quick search through Google and I discovered a solution on Virtualmin.  However, they write about...
Andrew Fletcher
Working through migration on a new Centos 7 server, the default mailbox size is...
Andrew Fletcher
Running a common composer command, post an upgrade on the server to Centos 7 and...
Andrew Fletcher
To add ejabberd and run MYSQL to the server I needed to update the server...
Andrew Fletcher
I'm receiving a server not found when logging in to Plesk from shell or...