Skip to main content
11
results
Andrew Fletcher
As a web developer, you will most likely need to run local copies of a bunch of different web sites. Regularly switching between several sites daily.  Sometime Drupal, other Laravel and whatever frameworks that are in your toolkit.   Install Docker and Lando Do you have Docker installed?  No, then go to the Docker Desktop page and download. Now let's look in to Lando.  Have a look at the Lando releases on GitHub to download the latest package for your OS. Run the installer. I...
Andrew Fletcher
Every project has to kick off somewhere.  Yep well that's a no brainer....
Andrew Fletcher
I installed Lando 3.6.2 and Laravel 9.  When I visit the web page, I...
Andrew Fletcher
Do you want set up a CI/CD process using GitHub Actions? This is a walk-through...
Andrew Fletcher
If like me you tried the command php artisanHowever, you had the following...
Andrew Fletcher
You can create a new date/time format by navigating to: Admin -> Configuration -> Regional and Language -> Date and Time format and click on 'Add Format'. Once you’ve created date format, you can control the way date is displayed on the node using preprocess function. In {theme_name}.theme file, add the following lines /** * Implements hook_preprocess_node */ function THEME_NAME_preprocess_node(&$variables) { // Getting the node creation time stamp from the node object. $date...
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...