developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
3
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
•
Creating a message log using Drupal watchdog.
Simple log
// Logs a...
Andrew Fletcher
•
The purple warning notification of annoyance recently came my way! I...