7 Jan
2009
7 Jan
'09
11:55 p.m.
All I need is just a placeholder. Say, how can I implement a hook to return a static number as a field? Is it possible? Then I can theme it to whatever I want. --- On Wed, 1/7/09, Earl Miles <merlin@logrus.com> wrote:
From: Earl Miles <merlin@logrus.com> Subject: Re: [development] how to implement hook_views_data() and add a field? To: development@drupal.org, yang_yi_cn@yahoo.com Date: Wednesday, January 7, 2009, 2:07 PM yi yang wrote:
Hi,
All I want is just return a number, which comes from a sql query count of my custom table. I want to represent that as a field so I can adjust it's position in the views ui. It doesn't sounds like very hard, right?
Views doesn't support doing things like COUNT() in normal operation yet.