diplaying fields of custom modules in views

checkerboard - October 18, 2007 - 00:48

HI guys
Currently I am developing my custom modules for my site. Some of them are nodes while some of them are attributes that are plugged into the nodes in the add/edit form. I am intending to use the views module to display the listing of these new node types. But I can see that views module doesn't display our custom module fields. So how can I change this and make it display my custom fields as well in the views. I am not intending to use cck for this. Is there any alternative method. Seeking for help

=-=

VeryMisunderstood - October 18, 2007 - 00:51

you would have to create a views.inc file for your module. I suppose the best way to do so would be to investigate some of the other modules that talk to views through their own .inc file. off the top of my head, audio.module does this.

and of course, the views api for module developers http://drupal.org/handbook/modules/views/api
_____________________________________________________________________
Confucius says:
"Those who seek drupal answers should use drupal search!" : )

 
 

Drupal is a registered trademark of Dries Buytaert.