Skip to main content
34
results
Andrew Fletcher
As you're using Bootstrap 5 and applying a style for the hover state of an accordion button, specifically changing the background image of an ::after pseudo-element. If you want to change the icon colour on hover, you should modify the fill attribute in the SVG's path element.  Here's an example: /* Default state */ .accordion-button::after { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd'...
Andrew Fletcher
If the Android app icon is not changing from the default icon (in my situation...
Andrew Fletcher
Android Studio error Installation did not succeed. The application could not be...
Andrew Fletcher
Android Studio error error: package android.support.v4.content does not...
Andrew Fletcher
Android Studio build errors Build failed error: cannot find symbol if...
Andrew Fletcher
Initialise your Capacitor config​ To initialise Capacitor use the CLI questionnaire: npx cap initOn executing the above command, you will be prompted to answer a few questions for your app such as your app's name and the package ID. [?] What is the name of your app? This should be a human-friendly app name, like what you'd see in the App Store. ✔ Name … {App name} [?] What should be the Package ID for your app? Package IDs (aka Bundle ID in iOS and Application ID in Android) are...
Andrew Fletcher
Run the NPX commands to update the app npm run build && npx cap syncRun...
Andrew Fletcher
  Using the Drupal Poll module and passing via RESTful API -  How do...
Andrew Fletcher
This code is from Drupal 9 back-end for a React front-end via REST API. Working...
Andrew Fletcher
For an introduction into setting up RESTful hal+json refer to the set-up...
Andrew Fletcher
How to use the Drupal REST API to trigger I've forgot (need to change) my password. POST: {domain}/user/password?_format=hal_json Content-type: application/hal_json Accept: application/hal+jsonOr if you are using hal_json then use POST: {domain}/user/password?_format=json Content-type: application/json Accept: application/jsonBody { "mail": "your@yoursite.email" }All going well there will be no response.   Other responses However, if you have sent an email that doesn't exist on the...
Andrew Fletcher
To get the X-CSRF token, first, you need to login as a member.  Follow the...
Andrew Fletcher
In retrieving an image, the primary element required is: File id or...
Andrew Fletcher
For an introduction into setting up RESTful hal+json refer to the set-up...
Andrew Fletcher
For an introduction into setting up RESTful hal+json refer to the set-up...