Skip to main content

Updating Capacitor – get and set versions

Need to know how run updates for Capacitor?

Updating Capacitor

Update Capacitor Core and CLI with the commands:

npm install @capacitor/cli
npm install @capacitor/core

Whereas, to update the relevant platforms in use:

npm install @capacitor/ios
npm install @capacitor/android

 

Drupal contrib module changes save to a patch file

If you edit a Drupal contrib module, the next time the module is updated those edits will be wiped.  So they are not lost there are a couple of options for you to consider:

  • Are the edits worth the contributing to the community?  Yes, you can fork the repo and add the changes for the developer(s) to review; or
  • Create a patch file

 

Creating a patch file

The process:

Create a MySQL database using command line (CLI)

On your local OSX environment using Terminal or iTerm you can create a MySQL database, database user, and password, as well as, assign all privileges to the user for the database.

Knowing your credentials, before beginning you will need to know the following:

user: {user}
password: {password}
database: {database}

For my local environment, I'll be using these credentials

Mapping out your Laravel project

Every project has to kick off somewhere.  Yep well that's a no brainer.  However, the number of projects that I've seen where the planning step has been omitted is too high.  A throughly planned out project with as many features scoped before you start coding is critical in completing a project.  Whilst projects and their requirements are always fluid, the initial critical scoping is so important.

Discovering Drupal caches

The cache system in Drupal 9 delivers the API with the elements required for creation, storage and invalidation of cached data.  Drupal is structured so initially data is stored in the database.  Whereas, files are stored in the following directories:

Site logo image is missing width and height

Running a few SEO and performance tests and I discovered that the site logo image tag doesn't contain a width and height variables!

How do you add image width and height to your site logo?

Working on the base that your theme file is a custom theme, then there are two files that you will need to edit:

  • theme file; and 
  • system branding block file

 

Subscribe to