Skip to main content
6
results
Andrew Fletcher
How do you exclude the current node from a list view? In some situations, for example a block listing nodes related to the node being viewed, you might wish to exclude the current node from a list view. Steps: Click on the advanced tab; Click on add under contextual filters; Choose Content datasource: ID; Under "when the filter variable is not available, choose provide default value; From the drop down menu select content id from url; Scroll down to the bottom of the window and click on...
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...