Skip to main content
51
results
Andrew Fletcher
Run the NPX commands to update the app npm run build && npx cap syncRun app with live reload ionic cap run {platform} -l --externalReplace {platform} with Android or iOS depending on your environment as follows Android android iOS ios To open in Android ionic cap run android -l --externalYou'll be prompted to select a emulator (depending what you have loaded) ? Which device would you like to target? Pixel 3 API 31 (emulator) (Pixel_3_API_31) Pixel 5 API 27 (emulator)...
Andrew Fletcher
Approaches to resolving “Module not specified” Error in Android Studio When...
Andrew Fletcher
Working in Android Studio when attempting to run a project I had the following...
Andrew Fletcher
Working through a CKAN installation on Ubuntu 20.04 User sees a server 500...
Andrew Fletcher
Before you can run CKAN for the first time, you need to run db init to...
Andrew Fletcher
Do you want to know how to add a node alias in a twig file?  Rather than do the set up in a custom module or using your theme file. To be able to create a node alias in a twig file you need to know the node.nid value.  Obviously without it you have nothing to reference from.  In this example, the node.nid value is extracted during a loop.  A fairly standard loop such as {% for row in rows %} // ... script doing some magic ... // {% endfor %}Begin by setting the nid value...
Andrew Fletcher
In terminal I ran a regular command - compose update.  Something I've...
Andrew Fletcher
Currently I'm working through an app that has been abandoned by the developers....
Andrew Fletcher
Having access to a site’s URL in your templates can come in handy for many...
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 mediaTypeError : Argument 1 passed to Drupal\Core\File\FileUrlGenerator::generateString() must be of the type string, null given, called in /app/web/sites/default/files/php/twig/61baa150bc5f6_media--document.html.twig_h9bK0We32VfjIKYeac5J1n4Mn/6wcKI-HiereIg8aXE0Znemy4PM0s6woj_Cr2Trl_U68.php on line 59 in Drupal\Core\File\FileUrlGenerator->generateString() (line 58 of...
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...
Andrew Fletcher
Working in Laravel, I needed to loop through an array and know whether the...
Andrew Fletcher
Step 1: Install Homebrew Homebrew is the missing package manager for macOS. As...