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
147
results
Andrew Fletcher
•
When you are in the status report of the admin area are you finding the following issue:
ENTITY/FIELD DEFINITIONS Mismatched entity and/or field definitions
The following changes were detected in the entity type and field definitions.
File
The File type field needs to be installed.
Paragraph
The Published field needs to be updated.
The Behavior settings field needs to be updated.Check whether you have the module file_entity. As File Entity has mostly been installed in to the...
Andrew Fletcher
•
The magically descriptive error 401 Forbidden "message": "Access...
Andrew Fletcher
•
Loading the node
To query the node, I prefer to create a series of functions to...
Andrew Fletcher
•
If you are like me you probably have searched for clues to and found little......
Andrew Fletcher
•
Registering a user via REST is an important process particularly when the...
Andrew Fletcher
•
As a process I apply patches locally first, then using git upload the update(s) to a development site on the server. Once the testing has been completed, the final step to apply the patch to the production site.
Using Terminal or your preferred shell program, navigate to the correct directory. Then run this command using the name of the patch file (example.patch):
patch < example.patchHowever, if you are patching Drupal core then remember to patch from the root directory...
Andrew Fletcher
•
While the Drupal site has a great outline of the steps to follow, I found we...
Andrew Fletcher
•
First transfer the drupal-8.8.x.tar.gz file to your directory
Via your ssh...
Andrew Fletcher
•
While I have posted an article about how to POST an image using REST in Drupal...
Andrew Fletcher
•
In Drupal 8.x hiding the subject line is a quick task.
In the admin area of your...
Andrew Fletcher
•
You have been working hard on getting comments being added (POST) through REST in Drupal 8. However, now you are seeing the following Assigning the wrong user against a new comment - and most likely the new comment is being assigned to the site admin.
The error here is related to the _embedded uuid.
What to do
You need to check that you have the correct uuid for both the entity_id and the uid
entity_id -...
Andrew Fletcher
•
For others that have spent countless hours getting this to work and are...