How to exclude the current node from a list view in Drupal 7
This is the instructions corresponds Drupal 7 + views 3.
There is a standard problem, we have the teaser of a random node in the block,
but it would be wrong to deduce the node teaser page on the page of it's full view.
Lets do following in views settings:
- Click on the "advanced" fieldset.
- Click on add under "contextual filters". We are going to add new contextual filter.
- Choose Content:nid.
- Under "when the filter variable is not available", choose "provide default value".
- From the drop down menu select "content id from url".
- Scroll all the way down to the bottom of the window and click on the "More" link.
- Click "Exclude".
- And be happy!