[development] Listing Nodes on a Node View

Larry Garfield larry at garfieldtech.com
Tue Dec 18 19:26:16 UTC 2007

On Tue, 18 Dec 2007 10:52:40 -0800, Ron Parker <sysop at scbbs.com> wrote:
> Listing nodes is a great place to use the views module to construct and
> display a default view and add it to the content of the node.
> Could someone please tell me how (or show me where I can see how) to:
> a) Add a view to the content of a node

Have a look at the component module's component_get_view() function.  Don't actually use component, but you can grab the few lines of code you need from it.

> b) Create a view from my module that can be used as the default view


--Larry Garfield

More information about the development mailing list