drupal
AND joins with hook_views_data
Sun, 13/06/2010 - 21:01 | by richshawhooks_views_data the views hook used to describe tables to views. The views documentation it makes it pretty clear how to create new view fields which relate to a base table e.g. Nodes.
However it gets a little hazy when it comes to defining fields which require a join which meets more than one condition e.g. 'LEFT JOIN WHERE x=a AND y=b'. You need this sort of join if you want to pull data related to a individual value from a CCK field which relates to a value in a another table.
Image annotation update
Thu, 17/12/2009 - 23:14 | by richshaw
When the little image annotation tool was launched the other week I got asked a couple of questions about it:
Cool, but er what can use it for?
I've used tools like this two ways:- To gather comments and feedback on print ads I'm testing. Where by this has formed on part of a larger research study.
Files:







