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
9
results
Andrew Fletcher
•
Tailwind CSS is a highly customisable framework that delivers developers the tools to quickly pull your site together.
Initial Configuration
The installation and configuration steps are essentially the same as those outlined within the Tailwind documentation.
Note they need to be performed within your custom theme's directory such as /themes/custom/{theme} for Drupal 9
Install Tailwind and PostCSS via npm or yarn. I used npm...
# Using npm
npm install...
Andrew Fletcher
•
JSON structure
Outlining the structure of the elements common attributes:...
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
•
I had the issue where I needed to filter an array list by a specific column. In my instance, the column is language. To be able to reduce the query to the language column the code required is
levels = selectedCategory?.levels.filter("language = %@", language)Language can be any string, in this instance for me language is a two alpha character such as 'fr', 'en' or 'de'.
Further to this you can continue to chain this query through including sort as per
levels =...
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...