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
26
results
Andrew Fletcher
•
You can create a new date/time format by navigating to:
Admin -> Configuration -> Regional and Language -> Date and Time format and click on 'Add Format'.
Once you’ve created date format, you can control the way date is displayed on the node using preprocess function.
In {theme_name}.theme file, add the following lines
/**
* Implements hook_preprocess_node
*/
function THEME_NAME_preprocess_node(&$variables) {
// Getting the node creation time stamp from the node object.
$date...
Andrew Fletcher
•
A recent attempt to run an update composer (regular activity for many of...
Andrew Fletcher
•
I'm writing these steps primarily for myself as a reference. However, if...
Andrew Fletcher
•
I need to set the default php-version of a subscription to php7.3. The...
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
•
This page shows a growing list of common commands for viewing and managing your...
Andrew Fletcher
•
Whilst updating nodejs and npm on a Centos 6 or 7 server running Apache, I...
Andrew Fletcher
•
Installing Laravel on an Apache server was going to be a no fuss process said no...
Andrew Fletcher
•
Today while in Terminal, I ran a regular script pod update. However, this...
Andrew Fletcher
•
We had an issue recently where saving a page in the admin area produced one of the following outcomes:
The page would reload and not save the selections that were made; or
Save the page and the input box area would be a white screen and the front end of the site would not be show any more.
The page we are referring to holds a matrix of 18,079 input box items. What how did it get that big? The page layout is show well organised and visually easy to view that we hadn't assessed...