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
11
results
Andrew Fletcher
•
Recently, I encountered an issue where my local Docker environment refused to connect to AWS S3, although everything worked seamlessly in AWS-managed environments. This challenge was not just a technical hurdle; it was a crucial bottleneck that needed resolution to ensure smooth Drupal deployments across various AWS environments (dev, staging and production).
Integrating AWS S3 into a local Docker container running Drupal 10 is more than just a technical setup; it’s a transformation that will...
Andrew Fletcher
•
The issue of over 300 simultaneous database connections in the context of AWS...
Andrew Fletcher
•
Working in an AWS ec2 environment, my goal is to access the server via...
Andrew Fletcher
•
Tailwind CSS is a highly customisable framework that delivers developers the...
Andrew Fletcher
•
JSON structure
Outlining the structure of the elements common attributes:...
Andrew Fletcher
•
Have you noticed through your Google account that there are items being indexed that shouldn't have been? One for me was taxonomy terms. Not important to be followed.
Being indexed on my sitemap (do I just erase those entries on the XML file?)
Being crawled (I am guessing this is with a robots.txt file though I have never created one before)
Being viewed (stumbled upon) -> if this even possible to block?
Resolve these quickly by simply adding disallow in robots.txt...
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......
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...