I have two content types:
1) Garden Centre
2) Event

Both content types have a taxonomy category. Each taxonomy term being the name of the Garden Centre's available.

There are 23 garden centres and 23 nodes created with the Garden Centre content type.

There are several event nodes created which include the location of the event selected by taxonomy.

I have created a block view which shows on every garden centre content type node and I would like the view to display just the events at the viewed garden centre.

eg: if (event taxonomy term = currently viewed node term) { show the event in the view list }

Is this possible using an argument of some kind?

Comments

iancawthorne’s picture

Answering my own question... the related views module does exactly what I was after. For some reason I had to expose the filter for it to work... but it does work a treat.

http://drupal.org/project/relatedviews

Hydrant Ltd
www.hydrant.co.uk

Hydrant Ltd
www.hydrant.co.uk

bomarmonk’s picture

There must be a way to do this with Drupal 6, but the relatedviews module is not updated. Does views now have this built into it?