You can embed the view using PHP, and specify the number of results dynamically:<div><br></div><div><div> $view = views_get_view($view_name);</div><div> $view->set_arguments(array(0 => 'all', 1 => 'typeb')); // if you have args</div>
<div> $view->set_items_per_page(0); // Here you go!</div><div> print $view->execute_display(0, $args); // default view, include $args param if using</div>
<div><br></div><div>Victor Kane</div><div><a href="http://awebfactory.com.ar">http://awebfactory.com.ar</a></div><div><br></div><div class="gmail_quote">On Tue, Jun 8, 2010 at 9:29 AM, sidharth relhan <span dir="ltr"><<a href="mailto:sidhartharelhan@gmail.com">sidhartharelhan@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">hi..<div>I am creating view using view2 module. i like that it show limited result. Number of result it should show depend on passing value as an argument. </div>
<div><br></div><div>Pager does not fit to my need.</div><div>
<br></div><div>Please reply me asap.</div><div>with regards</div><div>sidharth.</div>
<br>_______________________________________________<br>
consulting mailing list<br>
<a href="mailto:consulting@drupal.org">consulting@drupal.org</a><br>
<a href="http://lists.drupal.org/mailman/listinfo/consulting" target="_blank">http://lists.drupal.org/mailman/listinfo/consulting</a><br>
<br></blockquote></div><br></div>