Jeez. Here I was thinking I had a special need. There must be an API for everything. Looking for drupal_wash_my_car() ....<br><br>Thanks, Khalid,<br>-- <br>Dan Ziemecki<br>Philosopher. Curmudgeon. Nerd.
<br><br><div><span class="gmail_quote">On 5/7/06, <b class="gmail_sendername">Khalid B</b> <<a href="mailto:kb@2bits.com">kb@2bits.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Check this <a href="http://api.drupal.org/api/HEAD/function/node_get_types">http://api.drupal.org/api/HEAD/function/node_get_types</a><br><br>On 5/7/06, Dan Ziemecki <<a href="mailto:dan@ziemecki.com">dan@ziemecki.com</a>
> wrote:<br>> I need to generate a list of active node types for a site, and I'm not sure<br>> how to go about doing that. What I need is an array something like this:<br>><br>> $ntypes = array('blog','forum','flexi','page','story')
<br>><br>> The end result would be a list of possible node types a person would be able<br>> to subscribe to using the Subscriptions module.<br>><br>> Any ideas how I might be able to find out which nodes are available for
<br>> subscription?<br></blockquote></div><br>