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
14
results
Andrew Fletcher
•
After cloning a site, next you will want to import the config file. Which you can do so by running the command:
drush cim -yHopefully it worked for you. As it didn't work out so well for me as the response was:
[error] Drupal\Core\Config\ConfigImporterException: There were errors validating the config s ynchronization.
Site UUID in source storage does not match the target storage.
Entities exist of type <em class="placeholder">Shortcut link</em>...
Andrew Fletcher
•
Looking to install Solr on your server? Not sure if it worth the...
Andrew Fletcher
•
It appears that the plugin or file path is not working how it used to be on...
Andrew Fletcher
•
JSON structure
Outlining the structure of the elements common attributes:...
Andrew Fletcher
•
Working on a decoupled React / Drupal 9 site.
Aim: Adjust the output of curated...
Andrew Fletcher
•
How to make React calls on a Drupal 9 backend site using the search functionality
Tools
Drupal
9.4
React
The sample sent through from the front-end is as follows:
https://localhost/search?keyword=&sort=changed&type=%20CommissionerHowever, to run requests, the keyword requires a string. Such as searching the word 'committee'.
https://localhost:8006/search?keyword=committeeIf no keyword is entered, the response will be empty.
No results found for "".How to...
Andrew Fletcher
•
This code is from Drupal 9 back-end for a React front-end via REST API.
Working...
Andrew Fletcher
•
This article references some of the common commands via CLI (command-line...
Andrew Fletcher
•
How can you find out if the Cordova plugins have been loaded?
Begin by running...
Andrew Fletcher
•
Updating the Cordova plugins... there are two locations to manage the...
Andrew Fletcher
•
Installing Varnish to increase the speed of the page load.
Install varnish using the command below
yum install varnishYour response should look something like
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.realcompute.io
* epel: epel.mirror.digitalpacific.com.au
* extras: mirror.realcompute.io
* updates: centos.mirror.digitalpacific.com.au
Resolving Dependencies
--> Running transaction check
---> Package varnish.x86_64 0:4.0.5-3.el7 will be...
Andrew Fletcher
•
To add ejabberd and run MYSQL to the server I needed to update the server...
Andrew Fletcher
•
Installing Laravel on an Apache server was going to be a no fuss process said no...
Andrew Fletcher
•
Registering a user via REST is an important process particularly when the...