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
173
results
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
•
While loading an ionic project, in Xcode when performing a run routine I had the...
Andrew Fletcher
•
The issue
Text through the app is being rendered as
<p>Depletion...
Andrew Fletcher
•
Need to know how run updates for Capacitor?
Updating Capacitor
Update Capacitor...
Andrew Fletcher
•
Attempting to update the database, irrespective whether I run update.php or preferred method drush updb the following errors were appearing:
[notice] Module captcha has an entry in the system.schema key/value storage, but is not installed. <a href=":url">More information about this error</a>.
[notice] Module image_captcha has an entry in the system.schema key/value storage, but is not installed. <a href=":url">More information about this error</a>.
[notice] Module...
Andrew Fletcher
•
Do you want to know how to add a node alias in a twig file? Rather than do...
Andrew Fletcher
•
If you edit a Drupal contrib module, the next time the module is updated those...
Andrew Fletcher
•
As a web developer, you will most likely need to run local copies of a bunch of...
Andrew Fletcher
•
The cache system in Drupal 9 delivers the API with the elements required for...
Andrew Fletcher
•
How to get the current user or load a user using a uid value.
$current_user = \Drupal::currentUser();
$user = \Drupal\user\Entity\User::load($current_user->id());or just use
$user = \Drupal\user\Entity\User::load(\Drupal::currentUser()->id());An example of this in action
/**
* Change the display of the user's name.
*
* @param int $uid
* User id.
*
* @return string
* User name.
*/
function change_users_name($uid) {
// status of the current user
$logged_in =...
Andrew Fletcher
•
Running a few SEO and performance tests and I discovered that the site logo...
Andrew Fletcher
•
How do you exclude the current node from a list view?
In some situations, for...
Andrew Fletcher
•
I'm receiving an error with a path of Drupal\path_alias\AliasManager
Upgrading...
Andrew Fletcher
•
Connecting a device and testing in Xcode have you had a no profiles...