Skip to main content
178
results
Andrew Fletcher
How do you exclude the current node from a list view? In some situations, for example a block listing nodes related to the node being viewed, you might wish to exclude the current node from a list view. Steps: Click on the advanced tab; Click on add under contextual filters; Choose Content datasource: ID; Under "when the filter variable is not available, choose provide default value; From the drop down menu select content id from url; Scroll down to the bottom of the window and click on...
Andrew Fletcher
Currently I'm working through an app that has been abandoned by the developers....
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...