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
7
results
Andrew Fletcher
•
JSON structure
Outlining the structure of the elements common attributes: type, title, name and required;
Text area
{
"type": "webform_multiple",
"title": "What's new?",
"name": "what_s_new_",
"required": false
}Text field
An additional attribute for the text field is maxlength
{
"type": "textfield",
"title": "Text field (optional)",
"name": "text_field_optional_",
"required": false,
"maxlength": 255
}Select field
Options attribute is an additional...
Andrew Fletcher
•
This code is from Drupal 9 back-end for a React front-end via REST API.
Working...
Andrew Fletcher
•
The cache system in Drupal 9 delivers the API with the elements required for...
Andrew Fletcher
•
Installing Varnish to increase the speed of the page load.
Install varnish using...
Andrew Fletcher
•
Clear DNS Cache
The DNS (Domain Name Service) cache on your Mac helps browsers...
Andrew Fletcher
•
Like many devs at the moment, looking for log4j2 on your server... how to do?
First I used the command
find / -name log4j2.xml -type fWhich in turn produced the following results
/opt/solr-8.5.2/server/resources/log4j2.xml
/var/solr/log4j2.xml
Version
Ok, so log4j2 exists on the server the client is using... in Solr. How about determining the version number?
The version here matters as 2.15.0 is good to go. To find the version use
sudo find / -name 'log4j*'
The output of...
Andrew Fletcher
•
I had the issue where I needed to filter an array list by a specific column....