developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
418
results
Andrew Fletcher
•
Working hard developing your app and now it's time to let others begin testing your team's work. Fortunately, the process is far more streamlined nowadays. Don't misunderstand my comment, for newbies there remain barriers and hurdles to cross.
The App I'm walking through today has been built with Typescript and Angular. The process is the same with native iOS app too.
TestFlight offers testing for two types of groups, internal and external. Getting to the facts with...
Andrew Fletcher
•
My goal was to get the base URL and compare it with the URL of the link....
Andrew Fletcher
•
JSON structure
Outlining the structure of the elements common attributes:...
Andrew Fletcher
•
Whilst I had regularly used HAL to upload files through REST API, this is no...
Andrew Fletcher
•
How do you retrieve a taxonomy term tid value from it's name?
In this situation,...
Andrew Fletcher
•
If you are like me, almost every view I have will have this filter. So I regularly have the need to set a contextual filter programmatically. However, some won't and will have other contextual filters instead.
You can pass through the $view object the contextual filter params using the setArguments() method. Say you want to pass three node nids to the view to filter the results contextually:
$view->setArguments(['324+613+87']);
Continuing this theme, see the...
Andrew Fletcher
•
Have you come across the following Drupal error message:
Mismatched entity...
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
•
In this instance, I'll check the beginning of the string. I want to focus...
Andrew Fletcher
•
Trying to have a chat recently, and Microsoft Teams would not open on MAC OS. Sometimes it would open without issue. But today, no play.
The email comes through with no issue. Opens in Safari with no issue. But the link to open in Microsoft Teams, goes nowhere.
Below are the progressive steps that I took to resolve this issue (note that this could take multiple solutions - let's see):
Solution 1: delete cache
How to delete the cache of Microsoft Teams on...
Andrew Fletcher
•
ERROR Error: Uncaught (in promise): TypeError: undefined is not an object...
Andrew Fletcher
•
When attempting to do a git push, are you getting the following...
Andrew Fletcher
•
Using the Drupal Poll module and passing via RESTful API - How do...
Andrew Fletcher
•
This code is from Drupal 9 back-end for a React front-end via REST API.
Working...