By swduncan on
I've gotta believe this is here somewhere but I'll be darned if I can find it.
I've added a new content type called Task using CCK. I'd like to add a menu item to show all of the tasks. How do I figure out what URL to use?
Thanks!
Steve
Comments
Like..
if you're using clean url's
/node/task
otherwise
?q=node/task
That's what I thought...but
That's what I thought...but when I use it I get _everything_, not just tasks...
True. Since no
True. Since no /node/nodetype syntax is supported you get just /node.
There is no direct way. Content types are for creating content, taxonomy is for listing it.
In categories set up a vocabulary which applies to this content type (among others), define a term for this content type (e.g. 'tasks') and tag the nodes with this term. If the term's id is 15 you can get a teaser list using
/taxonomy/term/15
or with an alias of this.