Home

Primary links

  • top o the deck
  • Drupal for Beginners
  • about
  • links
  • give me some sugar

Drupal stuff

  • EDAM
  • STARDOM
  • Question Bank
  • Drupal musings
  • Drupal tips
Home Blogs Drupalace's blog

Key stuff on this site

Easy Drupal Admin Manual (EDAM)

SEO, Traffic and Revenue: Drupalace's Online Manual (STARDOM)

Drupal for Beginners

Subscribe to posts by RSS or email

Subscribe to Drupal Ace by RSS feed RSS feed 

Subscribe to Drupal Ace by Email

Donate towards my web hosting bill! Get a great host!

Share and save

Share/Save

Random piece of content

2008 is here: the Drupal Ace to-do list

Manuals on this site

  • Easy Drupal Admin Manual (EDAM)
    • Welcome to Your Site
    • First Steps: Please Read!
      • Understanding These Instructions
      • Important Terminology!
      • Best Practices for Site Admins
    • Super Quick Guide (for the experienced and the brave)
    • Logging In
    • Your Administrator Tools
    • Setting Site Basics
      • Setting Site Information
      • Configuring Your Theme
    • Creating Content
      • Node Types
      • Create a Page Node
      • Create a Story Node
      • Create a Blog Entry Node
      • Making Images and Other Files Available
      • Using Text and Image Editors
    • Organizing Your Content
      • Terms, Vocabularies, and Taxonomy: "Tagging" Your Content
        • Taxonomy Suggestions
      • Menus, Links, and Paths: Navigating the Site
        • Content Paths and URLs
        • Creating Links
        • Working with Menus: Administration Form (Drupal 6)
        • Working with Menus: Administration Form (Drupal 5)
        • Creating Menu Items on the Fly
        • Placing Menus on Your Pages
      • Placing Content on pages
        • Creating a page from a Single Node
        • Creating a page from a List of Nodes
        • Setting the Front Page
      • Working with Blocks
    • Maintenance Stuff
      • Maintenance and Construction Notices
    • Other Fun Things
      • Changing Color of Garland Theme
      • Free Aliases!
  • SEO, Traffic and Revenue: Drupalace's Online Manual (STARDOM)
    • Set a Clear Goal
    • Make a Good Site
      • Put out the Welcome Mat
      • Make Great Content
      • Build a Great Brand
      • Make Navigation Easy
      • Tune Site Performance
    • Drive Traffic
      • Promote your Site
      • Get Found with SEO
    • Build a Community
      • Build an Offsite Community
    • Monitor and Improve
    • One-Page Checklist
    • Drupal and the Blogging Starter Checklist
      • Drupal and the Blogging Starter Checklist, Part 1
      • Drupal and the Blogging Starter Checklist, Part 2
      • Drupal and the Blogging Starter Checklist, Part 3
      • Drupal and the Blogging Starter Checklist, Part 4
      • Drupal and the Blogging Starter Checklist, Part 5
      • Drupal and the Blogging Starter Checklist, Part 6
      • Drupal and the Blogging Starter Checklist, Part 7

Recent comments

  • It worked

    adding $GLOBALS['tempUser'] = $user; worked but I find it worth noting that I had to delete...

  • very good document...

    very good documentation for beginners!!!!!! thanks!!

  • del penitential 62

    strike out abject
    eliminate penitent 5

  • Chat

    Thank you a lot about very beneficial to my work was very useful thank you

  • Drupal Resources f...

    I would start learning from the "Diving In" section above. That links to the good beginners'...

more

Understanding node-list pages in Drupal

Submitted by Drupalace on Sun, 2007-12-09 00:57
  • blog post
  • Drupal

First a question: Is there some Drupal name for "pages that list nodes"? Like the front page on many sites (including this one) – any web page that lists nodes, as opposed to a web page that is a specific node. For lack of a name, I'll call these "node-list pages".

Whatever the name, I responded to a couple of Drupal.org forum posts on the same issue around which I initially had to wrap my newbie head before Drupal "opened up" to me. It's this: How do you place nodes onto a given page? It's pretty clear how to do so for the front page, but how do you create, say, this site's "Question Bank" page, which is a page listing all of my "question" nodes?

The short answer is easy: You don't create the page. You give Drupal the instructions for creating it.

In more detail:

Other than the built-in mechanism for populating a front page in Drupal with nodes, you don't "promote" a node to a given page (or "place" a node on a given page, etc.). Rather, your desired page listing nodes is created by Drupal on the fly, out of nodes that match some specified criteria. It might be all nodes containing a taxonomy term like "question". Or it might be all nodes of a given content type. (My Question Bank node-list page? All the nodes are a custom CCK type I made. The Question Bank page is a list of all nodes of that type, called up using Views.)

I don't know whether the following is a canonical way to explain what Drupal does, but the way I think of it is this: A node-list page doesn't exist as a "container" for the nodes you'll later place in it. A node-list page doesn't even exist as a standalone page at all!

All that exists is a link, which you've probably placed in a menu. That link is an instruction to Drupal to call up all nodes of some given criteria (such as nodes with a taxonomy certain term), or call up a View that lists all nodes of some given criteria, and create a node-list page on the fly.

Which is to say: The key to understanding Drupal node-list pages is that it's all about creating the links, i.e., the instructions for calling up nodes (as well as preparing the taxonomies, Views, etc. that the instructions will make use of). And not about creating the pages themselves.

Think link. At least, that's the mindset that worked for me when I first stumbled over the issue of "but... how do I make the page?" It may be a helpful reminder for other newbies, or those coming over from CMSes that, unlike Drupal, do have you "place" a node onto a pre-existing "container" page.

Update

Here's a good related resource: Content, the Drupal Way. Highly recommended for anyone new to Drupal.

Also, on this site, see Placing Content on Pages. 

Share/Save
  • Drupalace's blog
  • Printer-friendly version
  • Quote
musuan's picture

Re: Understanding node-list pages in Drupal

Submitted by musuan (not verified) on Fri, 2008-03-28 18:41.

Thanks. I was looking for pages. Your article made things clear. I want to use Taxonomy to group related nodes together, calling them from a link. Now, if only I could find the path to a vocabulary and an place it it the the path field of the Menu settings, our online community is in business. :D

  • reply
  • quote
Drupalace's picture

Re: Understanding node-list pages in Drupal

Submitted by Drupalace on Tue, 2008-04-01 01:21.

Glad it was helpful! FYI, I added pages along a similar vein at http://www.drupalace.com/EDAM/placing_content .

Thanks for writing!

  • reply
  • quote
Swiftarrow's picture

Re: Understanding node-list pages in Drupal

Submitted by Swiftarrow (not verified) on Mon, 2007-12-31 14:38.

THANK YOU!!!

I was beginning to come to this understanding... but reading this post has saved me perhaps 2 days of pondering. I hope there' smore on this site!

  • reply
  • quote
Drupalace's picture

Re: Understanding node-list pages in Drupal

Submitted by Drupalace on Mon, 2008-01-07 02:08.

Great, glad it was helpful! I myself would have liked some short enlightenment on this topic when I was starting out. : ) (I was approaching Drupal from a short fling with Mambo, which, if I recall correctly, used a more easy-to-guess-at method of assigning nodes to specified, named pages.)

  • reply
  • quote

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd><br><p>
  • You may quote other posts using [quote] tags.
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options


Relevant Content

The Drupal Ace logo has dealt these content suggestions from the deck.

  • Working with Menus: Administration Form (Drupal 6)
  • Drupal beginner documentation picking up steam
  • Working with Menus: Administration Form (Drupal 5)
  • Updating Easy Drupal Admin Manual
  • Drupal for Beginners
  • Why would Color-enabled themes work for all sites but one?
  • Limiting node access: three quick'n'easy tools

Learn Drupal, hands-on

Get the beginner-friendly ebook that teaches community site building via a live case study.

Drupal 6 Ultimate Community Site Guide

Read the review

Drupal mini tip

Site visitors seeing your ugly error messages on the screen (along with details of your Drupal installation path)? Once your site goes from dev to launch, you probably want to have errors recorded in the log but not splashed across the screen. Head to the handy Error Reporting settings found at admin/settings/error-reporting. 

It's a deal!

Dreamhost dealsDrupal Ace presides over his domain, proudly ensconced in his DreamHost eyrie. Won't you join me?

Promo code deal!

Just enter the code 49ER when you register for an account, and save $49 off the already-low price. No strings!

Read my hosting service review

Powered by Drupal, an open source content management system

Copyright 2007 and forever after. Made with Drupal, of course. On OS X, of course. Served up by DreamHost. DreamHost

RoopleTheme