Re: [development] Listing Nodes on a Node View
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 b) Create a view from my module that can be used as the default view Thanks so much! -ron - Ron Parker Software Creations http://www.scbbs.com Self-Administration Web Site http://saw.scbbs.com SDSS Subscription Mgmt Service http://sdss.scbbs.com Central Ave Dance Ensemble http://www.centralavedance.com R & B Salsa http://www.randbsalsa.com
On Tue, 18 Dec 2007 10:52:40 -0800, Ron Parker <sysop@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
http://drupal.org/handbook/modules/views/api http://drupal.org/node/99568 --Larry Garfield
participants (2)
-
Larry Garfield -
Ron Parker