developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
9
results
Andrew Fletcher
•
The viewport meta tag in a website's HTML is used to control how the webpage is displayed on a mobile device or in a web browser. It defines the viewport's behaviour and dimensions. The viewport meta tag helps create a responsive and mobile-friendly design by adjusting the layout and scaling to fit various screen sizes and orientations, particularly on mobile devices. It helps ensure that text is displayed at a readable and consistent size across different devices and screen...
Andrew Fletcher
•
Find by file name
To perform a find command in terminal use
find / -name...
Andrew Fletcher
•
Like many devs at the moment, looking for log4j2 on your server... how to...
Andrew Fletcher
•
Creating a message log using Drupal watchdog.
Simple log
// Logs a...
Andrew Fletcher
•
Working in Laravel, I needed to loop through an array and know whether the...
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
•
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...