A Tree House Agency Community

Types of node displays by bh

I think it would be useful to cover the best practice for rending different types of node displays. Meaning, often it's useful to have types of node output more diverse than the full node, or the teaser. While Views can be used in many cases, it's not always the answer and sometimes it would be nice to do without adding the overhead.

To clarify, in a typical e-commerce store you might want each product node to have separate template files for:

(*) Full product view
(*) Product category view
(*) Search result view, etc

(It's an obviously contrived example, that views would probably solved, but hopefully it illustrates the question)

Post new Comment

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

More information about formatting options