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
148
results
Andrew Fletcher
•
Adding an image via RESTUI can be done in a snap... once you know how! I have spent a good amount of time (days) researching how come my scripts weren't running correctly.
POST:
authentication: basic,
formats: hal_json
URL:
Enable File from domain.com/admin/config/services/rest;
Download file_entity module and enable it; and
Set permission Add and upload new files under file entity.
How to setup your...
Andrew Fletcher
•
When you are in the status report of the admin area are you finding 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 requests come from a mobile device.
In working through the process you might have come across error message like:
403 Forbidden : "Only anonymous users can register a user."
422 Unprocessable Entity : "A Password cannot be specified. It will be generated on login."So how did I get these and what to do?
First off, check the REST set up in the administration area of Drupal. Configure User and User registration...
Andrew Fletcher
•
As a process I apply patches locally first, then using git upload the update(s)...
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 site go to structure > comment types > {comment type} > manage form display and the URL will be like https://domain.com/admin/structure/comment/manage/{comment}/form-display. I have put the type in braces as you might have several comment types. If you only have the default Drupal setting, then use default comments and the path will...
Andrew Fletcher
•
You have been working hard on getting comments being added (POST) through REST...
Andrew Fletcher
•
For others that have spent countless hours getting this to work and are...