[consulting] problem in views filter

sidharth relhan sidhartharelhan at gmail.com
Sun Jun 6 16:38:02 UTC 2010


hi ..
i am facing a problem in view filters. actually i have create a view and it
has 3 argument. i want that these argument are used as value in filter.

i tried this code but it is not working.
if any body has solution please post it. I am very thankful.
Regards

<?php
if ($args[0]) {
    $view->filter[0]['value'] = $args[0]; // set the value of filter[0]
}

if ($args[1]) {
    $view->filter[1]['value'] = $args[1]; // set the value of filter[1]
}

$view->is_cacheable = 0;
?>

if any body has solution please post it. I am very thankful.
Regards
Sidharth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/consulting/attachments/20100606/454005e2/attachment.html 


More information about the consulting mailing list