3

Environment

  • Mac OSX 10.8.2
  • MAMP
  • Drupal 7 (just downloaded the stable today)

Objective

Create a menu item in the main menu to list recent and all nodes of a specific content type.

Question

It appears that I'm going to need to build a custom page, and leverage an API, to simply list nodes by content type. I just know I'm missing something. Can somebody point me in the right direction on how to do this?

I ran this Google searche, drupal 7 list nodes of content type, to come to the conclusion that I'm going to need to build some kind of custom code.

2

No need to build a custom page. What you want to do is very simple to do with the Views module.

Just build a View to list nodes, and under Filter criteria, add a filter that only displays nodes of whatever content type you want to single out.

  • 1
    Outstanding! And it appears that will be part of core in v8. I have used a lot of CMS systems, and I do mean a lot, across PHP and ASP.NET and I have to say I love Drupal already! And I haven't even been using it that long (just a few hours). – Mike Perrenoud Feb 16 '13 at 23:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.