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
•
Working in Lando and you have hit the situation where you need to view the log files. Where? How?
Lando has several log layers to assist in diagnosing many of the issues you might encounter.
Install Logs
Failed installation? Find logs in the following locations:
macOS - /var/log/install.log
Linux - Differs per system but check common apt or dnf/yum logs
Runtime Logs
Runtime? Check:
macOS/LINUX - ~/.lando/logsThere should be core lando logs called...
Andrew Fletcher
•
Changes in your .env file
Connecting your app to the new environment you need to...
Andrew Fletcher
•
Wanting to create a new repository on GitHub, add in a few of the available...
Andrew Fletcher
•
Setting up a new project in Docker and VS Code.
Using Terminal, go to your...
Andrew Fletcher
•
The magically descriptive error 401 Forbidden "message": "Access...
Andrew Fletcher
•
If you are like me you probably have searched for clues to and found little... particularly when confronted by the errors as you unravel how this works. Okay a slight exaggeration, there are snipets of info that people have solved this annoying issue in making comments work in Drupal 8 REST services.
The lack of collective information in resolving issues has meant hours of debugging and working through core code to understand what is actually happening. If you want to...
Andrew Fletcher
•
As a process I apply patches locally first, then using git upload the update(s)...
Andrew Fletcher
•
A list of languages for the iOS app in speech mode:
Arabic (Saudi Arabia) -...
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...
Andrew Fletcher
•
For others that have spent countless hours getting this to work and are struggling... in particular assigning the correct user to the comment - this is how I achieved the correct outcome.
The outline below is for usage via Postman and DHC (Restlec Client)... once working here then testing done and ready to apply to your app or however you are using this.
Set up
Set accept to hal+json
sample:
POST request
url: http://example.com/entity/comment?_format=hal_json
Authorization Type: Basic {then...