Skip to main content
170
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
First off, this isn't the only method to achieve the outcome of emptying a...
Andrew Fletcher
I'm receiving an error with a path of Drupal\path_alias\AliasManager Upgrading...
Andrew Fletcher
Clear DNS Cache The DNS (Domain Name Service) cache on your Mac helps browsers...
Andrew Fletcher
Changing git push from passphrase?  There are several ways to tackle this step.  I'm going to focus one of these steps. From your web directory root, look for your .git directory.  Then open the .git... cd .gitNext using your shell prompt (iTerm2), view the contents of the config file vim configPresently the config file looks like the following [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true ...
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
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 a Docker ID.  Not sure, well most likely you created it to download Docker Desktop.  If you don't have one, go to Docker and sign up. In your  text editor create a file called Dockerfile in the same directory you want to have as your local site. No extension, just Dockerfile. Paste in this code and save the file: FROM nginx:latest COPY . /usr/share/nginx/htmlThis tells Docker to use the same nginx...
Andrew Fletcher
If you are using theme_get_settings, such as: $value =...
Andrew Fletcher
Having access to a site’s URL in your templates can come in handy for many...
Andrew Fletcher
I want to create a content type that has a paragraph.  Easy enough. What...
Andrew Fletcher
Creating URL's in Drupal programmatically: Internal path use...