Skip to main content
13
results
Andrew Fletcher
The viewport meta tag in a website's HTML is used to control how the webpage is displayed on a mobile device or in a web browser.  It defines the viewport's behaviour and dimensions.  The viewport meta tag helps create a responsive and mobile-friendly design by adjusting the layout and scaling to fit various screen sizes and orientations, particularly on mobile devices.  It helps ensure that text is displayed at a readable and consistent size across different devices and screen...
Andrew Fletcher
Visual Studio Code (VS Code) allows you to manage extensions using the VS Code...
Andrew Fletcher
Working on a decoupled React / Drupal 9 site. Aim: Adjust the output of curated...
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
phpcs issue in Visual Studio Code, I'm receiving this warning in VS Code: phpcs: Unable to locate phpcs. Please add phpcs to your global path or use composer decency manager to install it in your project locally.  How to fix You can install phpcs by using composer global command: composer global require squizlabs/php_codesnifferThen in VS Code, go to  Click Code -> Preferences -> Settings Select User Settings and locate 'PHP CodeSniffer', or in the Search settings enter...
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......
Andrew Fletcher
Registering a user via REST is an important process particularly when the...
Andrew Fletcher
In Drupal 8.x hiding the subject line is a quick task. In the admin area of your site go to structure > comment types > {comment type} > manage form display and the URL will be like https://domain.com/admin/structure/comment/manage/{comment}/form-display.  I have put the type in braces as you might have several comment types.  If you only have the default Drupal setting, then use default comments and the path will...
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...