Closed (fixed)
Project:
Views (for Drupal 7)
Version:
5.x-1.6
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
31 Aug 2007 at 22:23 UTC
Updated:
23 Jan 2008 at 21:46 UTC
Hi,
I've got a Table View with some CCK fields in it. I want to add a new column with some sql SELECT output value. (My node type is in parent-child relation with other node type and I want to print in this column a number of 'children' for each parent (row). It can be done by something like that: 'select count(*) from table where table.nid = cNID' where cNID is a row NID (node id in a current row, for each row in Table View) ). Anyway, I just want to add a column to a Table View with some sql Select output value for each row. How can I do that ? Thank you for any suggestions.
Comments
Comment #1
catchHave you seen cck computed field? Sounds like that does what you want.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.