Skip to main content
42
results
Andrew Fletcher
Approaches to resolving “Module not specified” Error in Android Studio When attempting to run or debug the application on Android Studio you can come across the error “Module not specified” in the Android Studio.  This article will outline approaches I took to get a resolution to this issue.   Tools Tool Version Android Studio Chipmunk | 2021.2.1 OS OSX - Big Sur 11.6.7 Ionic CLI 6.20.1 Node 18.0.0 Cordova cli: 11.0.0   Method 1 - Synchronise the project Let's...
Andrew Fletcher
Working in Android Studio when attempting to run a project I had the following...
Andrew Fletcher
Do you want to know how to add a node alias in a twig file?  Rather than do...
Andrew Fletcher
xdebug - failed to solve with frontend dockerfile.v0: failed to create LLB...
Andrew Fletcher
If you are using theme_get_settings, such as: $value =...
Andrew Fletcher
Having access to a site’s URL in your templates can come in handy for many different use cases, such as determining if your on the admin/people page as apposed to admin/reports/dblog or admin/content.  These three pages might seem to bear on common relationship, however there is at least one.  Users. I edited the user in the admin/people page so rather than showing just username, know shows: Firstname Lastname Email Username However, in making this change I discovered that when on...
Andrew Fletcher
I want to create a content type that has a paragraph.  Easy enough. What...
Andrew Fletcher
Since upgrading to Drupal 9.3.0 have you come across this error? Edit...
Andrew Fletcher
Have you noticed through your Google account that there are items being indexed...
Andrew Fletcher
When you have an entity ID value such as node ID (nid) or taxonomy term ID, how...
Andrew Fletcher
Working in Twig, I had to add classes to a pre-existing array.  Whilst I've grown used to the patterns in PHP, these cannot be applied in Twig.  Instead I had to merge the new array elements. Non associative arrays Working from a base level, I'll begin as if the original array hasn't been set.  The merge filter expects as first argument an array whose content will be merged with the assigned variable: {% set myArray = [] %} {% set myArray = myArray|merge(['tw-flex-inline'])...
Andrew Fletcher
Working in Laravel, I needed to loop through an array and know whether the...