Skip to main content
156
results
Andrew Fletcher
When you have an entity ID value such as node ID (nid) or taxonomy term ID, how can you create the alias in a twig file?  In other words, instead of /taxonomy/term/{tid} I would like to get the alias I have defined for this, eg: /some/path/to/my/term. In trying to find an answer you might have queried your search criteria using something like twig canonical taxonomy path twig canonical entity path twig canonical node path  How to achieve This is achieved through using the...
Andrew Fletcher
In drupal 9 for logging you can use logger service to log array data...
Andrew Fletcher
Adding Solr config zip (ie. solr_8.x_config.zip) to your remote...
Andrew Fletcher
Following is a series of steps to install Tika and have it running for your Solr...
Andrew Fletcher
Working on an Azure server I ran a mysqldump command to generate a copy of the...
Andrew Fletcher
When attempting to backup mysql using the mysqldump command mysqldump -u root -p database_name > backup.sqlHowever, it is throwing an error: mysqldump: Error: 'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tablespacesWhat to do?   Reading through the mysqldump documentation, you need use --no-tablespaces.  So the command becomes mysqldump -u root -p database_name > backup.sql...
Andrew Fletcher
How to Create New MySQL User Before you can create a new MySQL user, you need to...
Andrew Fletcher
You can create a new date/time format by navigating to: Admin ->...
Andrew Fletcher
To assist in finding possible solutions some of the queries that I made...
Andrew Fletcher
Creating a message log using Drupal watchdog.   Simple log // Logs a...
Andrew Fletcher
The generally accepted answer to a mysqldump is: mysqldump -h [host] -u [user] -p [database_name] [table_name] > [file].sqlOr a variant there of...  Of course if you are logged in to the server and working from it you don't need to express the -h [host] mysqldump -u [user] -p [database_name] [table_name] > [file].sql  But no not for me.  I wasn't seeing the success story of a downloaded database file.  Instead I was warmly embraced by error land: mysqldump: Got...
Andrew Fletcher
Working in Twig, I had to add classes to a pre-existing array.  Whilst I've...
Andrew Fletcher
On a git pull from remote dev environment to a staging environment running off...
Andrew Fletcher
I was trying to create something quite simple.  How to get image file uri...
Andrew Fletcher
Setting up a new project in Docker and VS Code. Using Terminal, go to your...