Skip to main content
173
results
Andrew Fletcher
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   Starting with the workhorse theme file Check if you have a hook_preprocess_block function in your custom theme file. The core code that you...
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
Let say in composer.json you have "drupal/core-recommended": "^9.2" You're...
Andrew Fletcher
Have you tried adding custom synonyms to Solr on Drupal? How did you go? What do...
Andrew Fletcher
We are going to work through two methods of creating the SOLR cores. Variables for reference used in this article: {ip_address} - your server IP Address {name} - name of the instance you are creating {dir} - name of the instance directory you are creating   How to create a core in SOLR with API? http://{ip_address}/solr/admin/cores?action=CREATE&name={name}&instanceDir={dir}&configSet=_default&dataDir=dataHere are details about parameters...
Andrew Fletcher
Running Docker Dangerous word... I'm assuming that Docker is installed....
Andrew Fletcher
Is Docker installed? Check if your installation is ok and spin up Docker as...
Andrew Fletcher
Create and push to Docker Hub Creating your own custom image... you need to have...
Andrew Fletcher
If you are using theme_get_settings, such as: $value =...
Andrew Fletcher
Adding basic security to your server, requires altering the security.json file.  For me this file was located /var/solr/data/  Add a User or Edit a Password The set-user command allows you to add users and change their passwords. For example, the following defines two users and their passwords: curl --user solr:SolrRocks http://localhost:8983/api/cluster/security/authentication -H 'Content-type:application/json' -d '{"set-user": {"andrew":"andrewsPass"}}'  Delete a User The...
Andrew Fletcher
What am I setting out to achieve? I want to meet the following...
Andrew Fletcher
Having access to a site’s URL in your templates can come in handy for many...
Andrew Fletcher
Having Drupal Solr Search APi running, I thought adding synonyms to the mix...
Andrew Fletcher
I want to create a content type that has a paragraph.  Easy enough. What...