Latest Challenges
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