Email
Share

We Rock Your Web Forum » Content Management Systems » Drupal

Drupal - List Nodes

(3 posts)
  1. JeffNox

    member
    Joined: Aug '09
    Posts: 24

    Is there a quick and easy way to generate a list of nodes in Drupal? For example, I have various content types categories by terms, but I'm unable to simply list them by their parent category, since that's not a term in itself. Clear as mud?

    I'd like Drupal to list nodes - by content type, category, whatever. I guess preferably by content type.

    Posted 2 years ago #

  2. Posted 2 years ago
  3. Sally301

    member
    Joined: Aug '09
    Posts: 28

    Hi Jeff,

    Yes, there is, using views. I ran into the same problem as you a couple weeks back - I realized that the pathauto module's index alias function had been deprecated, and needed a way to create pages for my parent category terms. (ie. my breadcrumb would say home -> term1 -> page name, but the link to term1 went nowhere).

    So this is what I did. I created a "page" view with the URL being the same name as the term URL (or, in your case, the content type URL), and gave it a title (optional). Next, I clicked on filters, and added a Taxonomy: Term filter, and filtered by the term's ID. In your case, you would filter on Node: Type, and select "Is One Of" followed by your content type.

    Posted 2 years ago #
  4. Anonymous



    OR, you can do this without using views, using a module like http://drupal.org/project/node_type_filter

    Posted 1 year ago #

RSS feed for this topic

Reply

(required)

Allowed markup: BBcode blockquote code em strong ul ol li font strike center u hr.
You can also put code in between backtick ( ` ) characters.