Skip to main content
34
results
Andrew Fletcher
In this instance, I'll check the beginning of the string.  I want to focus on the href's that start with /node/.  Which has been added using the variable $catchPhrase. Using the Drupal service path_alias to return the node.nid as follows: /** * Load the node nid from the URL alias. * * @param string $url URL string. * * @return any */ public function getNodeNidFromAlias($url, $phrase) { // Default values. $nid = null; ...
Andrew Fletcher
Working from the bases that .DS_Store has not been added to your git repository,...
Andrew Fletcher
To sort through a multidimensional array seems to be a function that I...
Andrew Fletcher
phpcs issue in Visual Studio Code, I'm receiving this warning in VS...
Andrew Fletcher
Had the situation where you are running composer however, the scripts stops with...
Andrew Fletcher
In Xcode attempting to build or run an app, I receiving a framework error. Software / package Version Xcode 13.2.1 @capacitor/cli 3.4.3 @capacitor/haptics 1.1.4 ionic 6 @angular/core 13.3.4   Previously, I had added via npm the following npm i @capacitor/haptics  Whilst I had added the haptics package, then built and synchronised the code using npm run build npx cap sync npx cap copy ios npx cap open ios  How to fix this issue This error is a result of my...
Andrew Fletcher
Working through an app project I inherited using Ionic, Angular and ngx-leaflet...
Andrew Fletcher
How can you find out if the Cordova plugins have been loaded? Begin by running...
Andrew Fletcher
While loading an ionic project, in Xcode when performing a run routine I had the...
Andrew Fletcher
Updating the Cordova plugins... there are two locations to manage the...
Andrew Fletcher
Oh the treasure of a client coming to you with a site they have removed the previous dev on... treasure hunt.  Not. Anyway, gaining access to an old site, working through the errors I came across this deprecated code Deprecated function: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in common_check_language() (line 306 of /path/to/file).  What has happened and options available array_key_exists() became deprecated in...
Andrew Fletcher
The issue Text through the app is being rendered as <p>Depletion...
Andrew Fletcher
If you have upgraded Ionic to 5 or 6 you will have experienced that the padding...
Andrew Fletcher
How do you get the version of ionic framework? ionic versionor ionic -vThe...
Andrew Fletcher
I recently received an ionic app that hasn't been updated for quite some time....