<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><br>Hi Siddarth,<div><br></div><div>As far i know views argument itself filters the content based on the arguments passed.</div><div>Any reason you would like to this.</div><div><br></div><div>Regards</div><div>Sagar<br>--- On <b>Mon, 7/6/10, consulting-request@drupal.org <i><consulting-request@drupal.org></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: consulting-request@drupal.org <consulting-request@drupal.org><br>Subject: consulting Digest, Vol 53, Issue 9<br>To: consulting@drupal.org<br>Date: Monday, 7 June, 2010, 5:30 PM<br><br><div class="plainMail">Send consulting mailing list submissions to<br> <a ymailto="mailto:consulting@drupal.org" href="/mc/compose?to=consulting@drupal.org">consulting@drupal.org</a><br><br>To subscribe or unsubscribe via the
World Wide Web, visit<br> <a href="http://lists.drupal.org/mailman/listinfo/consulting" target="_blank">http://lists.drupal.org/mailman/listinfo/consulting</a><br>or, via email, send a message with subject or body 'help' to<br> <a ymailto="mailto:consulting-request@drupal.org" href="/mc/compose?to=consulting-request@drupal.org">consulting-request@drupal.org</a><br><br>You can reach the person managing the list at<br> <a ymailto="mailto:consulting-owner@drupal.org" href="/mc/compose?to=consulting-owner@drupal.org">consulting-owner@drupal.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of consulting digest..."<br><br><br>Today's Topics:<br><br> 1. problem in views filter (sidharth relhan)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Sun, 6 Jun 2010 22:08:02
+0530<br>From: sidharth relhan <<a ymailto="mailto:sidhartharelhan@gmail.com" href="/mc/compose?to=sidhartharelhan@gmail.com">sidhartharelhan@gmail.com</a>><br>Subject: [consulting] problem in views filter<br>To: <a ymailto="mailto:consulting@drupal.org" href="/mc/compose?to=consulting@drupal.org">consulting@drupal.org</a><br>Message-ID:<br> <<a ymailto="mailto:AANLkTinVLoT3ChSJ7LzSwXOEysv84FS8Z0Oqd1EACqxb@mail.gmail.com" href="/mc/compose?to=AANLkTinVLoT3ChSJ7LzSwXOEysv84FS8Z0Oqd1EACqxb@mail.gmail.com">AANLkTinVLoT3ChSJ7LzSwXOEysv84FS8Z0Oqd1EACqxb@mail.gmail.com</a>><br>Content-Type: text/plain; charset="iso-8859-1"<br><br>hi ..<br>i am facing a problem in view filters. actually i have create a view and it<br>has 3 argument. i want that these argument are used as value in filter.<br><br>i tried this code but it is not working.<br>if any body has solution please post it. I am very thankful.<br>Regards<br><br><?php<br>if
($args[0]) {<br> $view->filter[0]['value'] = $args[0]; // set the value of filter[0]<br>}<br><br>if ($args[1]) {<br> $view->filter[1]['value'] = $args[1]; // set the value of filter[1]<br>}<br><br>$view->is_cacheable = 0;<br>?><br><br>if any body has solution please post it. I am very thankful.<br>Regards<br>Sidharth<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://lists.drupal.org/pipermail/consulting/attachments/20100606/454005e2/attachment-0001.html" target="_blank">http://lists.drupal.org/pipermail/consulting/attachments/20100606/454005e2/attachment-0001.html</a> <br><br>------------------------------<br><br>_______________________________________________<br>consulting mailing list<br><a ymailto="mailto:consulting@drupal.org" href="/mc/compose?to=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><br>End of consulting Digest, Vol 53, Issue 9<br>*****************************************<br></div></blockquote></div></td></tr></table><br>