Skip to main content
11
results
Andrew Fletcher
Working on a decoupled React / Drupal 9 site. Aim: Adjust the output of curated content for the Work Resources page.  So the icon is displayed with a path.  Enabling React developers to select whether to use the image or icon. Tools Drupal 9.4 React     Currently, the JSON output  { "id": "content_reference", "title": "Forms", "summary": null, "columns": "3", "cta": { "text": "View all", "href": "https://www.google.com/" }, "content": [ ...
Andrew Fletcher
How to make React calls on a Drupal 9 backend site using the search...
Andrew Fletcher
This code is from Drupal 9 back-end for a React front-end via REST API. Working...
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
Using shell access you the site you want to add the Spyc library.  Then go to the libraries directory and add the following commands: mkdir spyc cd spyc wget https://github.com/mustangostang/spyc/blob/master/Spyc.phpTo verify that Spyc is active, go to the status area of admin (admin/reports/status)
Andrew Fletcher
To add Erlang repository that also includes the public key for verifying signed...
Andrew Fletcher
Ha you have read it before, one of those throw away lines that is written "just...
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...