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
31
results
Andrew Fletcher
•
The issue – I have a content type that includes an entity reference revisions field named field_introduction. This field points to a paragraph, which itself contains a text field also named field_introduction, of the type Text (formatted, long). How can I access the content stored in this paragraph's field_introduction field?
In Drupal, managing content structured through fields and entities allows for flexible and dynamic content architectures. One common scenario involves accessing data from a...
Andrew Fletcher
•
In Twig, the {% extends %} tag is used to inherit and extend the contents of...
Andrew Fletcher
•
In Drupal Twig templates, you can set a variable like paragraph_parent to the...
Andrew Fletcher
•
Update Drupal to 10.1.x and I'm receiving the following...
Andrew Fletcher
•
Recently a client handed me code that runs an app through iOS and Android....
Andrew Fletcher
•
Twig error
Twig\Error\SyntaxError: Unknown "filter" tag. in Twig\Parser->subparse() (line 6 of themes/custom/{theme}/templates/views/views-view-field--products--field_product_type.html.twig).Line 6 of the views-view-field--products--field_product_type.html.twig file is
{% filter upper|escape('html') %}The actual Twig file code
{% filter upper|escape('html') %}
{{ view.field.field_product_type.original_value -}}
{% endfilter %}In Drupal 10, this is producing the error noted above -...
Andrew Fletcher
•
Only a month ago, running an app through the Android Studio emulator was running...
Andrew Fletcher
•
This guide has been compiled as a reference tool on how to access field values...
Andrew Fletcher
•
To completely remove Microsoft Remote Desktop from OSX you need to perform the...
Andrew Fletcher
•
Warning from Google Play Store when uploading an App
You must complete the...
Andrew Fletcher
•
Uploading a new version of an Android app to Google Play and I'm seeing this error
Version code 1 has already been used. Try another version code.There are three areas to observe:
Version Code: {whole integer}
Version Name: {String}
Version Name Suffix: {Integer}Currently, my settings are:
Version Code: 2
Version Name: 2.0.1
Version Name Suffix: 1While that is true for the app, cross-check the Play Store and what version is currently set in that environment. The details there...
Andrew Fletcher
•
Whilst uploading a new version of our Android app, I had the following error...
Andrew Fletcher
•
If you have a situation where either you have forgotten a Keystore password or...
Andrew Fletcher
•
Initialise your Capacitor config
To initialise Capacitor use the CLI...
Andrew Fletcher
•
Run the NPX commands to update the app
npm run build && npx cap syncRun...