Jeez. Here I was thinking I had a special need. There must be an API for everything. Looking for drupal_wash_my_car() ....
Thanks, Khalid,
--
Dan Ziemecki
Philosopher. Curmudgeon. Nerd.
Check this http://api.drupal.org/api/HEAD/function/node_get_types
On 5/7/06, Dan Ziemecki <dan@ziemecki.com > wrote:
> I need to generate a list of active node types for a site, and I'm not sure
> how to go about doing that. What I need is an array something like this:
>
> $ntypes = array('blog','forum','flexi','page','story')
>
> The end result would be a list of possible node types a person would be able
> to subscribe to using the Subscriptions module.
>
> Any ideas how I might be able to find out which nodes are available for
> subscription?