User loginResource Agents |
Using Views (version 1) in Drupal to get to data
Lately, I have been involved with several projects that required some custom PHP coding. Anyone that has worked with Drupal for length of time knows about the awesome Views Module. It is the query builder for Drupal, all through the web GUI. Views 2 is even better but this blog deals with Views 1.
The Views Module allows the embedding of view output into any page by the following code:
$view = views_build_view('embed', views_get_view('view_name'), array ($sArgument), 0, NULL, 0, 0, NULL);
Submitted by davea on Tue, 2009-02-10 22:07. categories [ ]
|
Symantec Recent Viruses |