[support] Inserting block into a page.

KOBA | Hans Rossel info at koba.be
Tue Jul 1 12:25:52 UTC 2008


The last variable in the array is the numbers to be displayed. Just put it
on 5 if you want to have 5 nodes.

<?php
     $view = views_get_view('LatestVideosBlock');
    print views_build_view('block', $view, array(), false, 5);
?>

Hans
www.koba.be


2008/7/1 Neil: esl-lounge.com <neil at esl-lounge.com>:

>  Hans
>
> That seems to have ALMOST worked. The original block has 5 nodes per
> block/page whereas when I inserted it into the page, I got every single one
> showing....64 video nodes running down the page. Any idea why that would be?
>
> Neil
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20080701/fb13b495/attachment.htm 


More information about the support mailing list