Skip to main content

views 3

Views: Taxonomy Term View: Display only one node per taxonomy term.

Today I was setting up a website that was using FlickrSync to pull images from Flickr. FlickrSync creates one node per image and uses Flickr's tags as taxonomy terms. Perfect.

I created a new Term view to pull all taxonomy terms associated to the 'Gallery' vocabulary I had created. The problem I ran into was that the view pulled ALL image nodes tagged with each gallery term. This was not what I was looking for. Instead, I wanted a list of each term and one image node, not all nodes.


Registering views_handlers for Views 3 and Drupal 7

I've recently been exposing a custom module's data to views 3 in Drupal 7. I copied the code from the uc_product module and for some reason, I couldn't get my views handlers to get registered with the system. Everything I tried would result in a broken/missing handler error. After scouring the online views documentation, http://views.doc.logrus.com, I finally found a line directing me to the advanced help module.