[consulting] problem in views filter

Steven Jones steven at aella.co.uk
Mon Jun 7 21:11:46 UTC 2010


Looks like that code is for Views 1 on Drupal 5. If that's really what
you are building with then have a read of:
http://drupal.org/node/70145

Otherwise, just download views 2 from http://drupal.org/project/views.

Regards
Steven Jones

Phone : 02476 417 749
Mobile : 07702 131 576
Twitter : darthsteven



On 6 June 2010 17:38, sidharth relhan <sidhartharelhan at gmail.com> wrote:
> 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
>
>
>
>
> _______________________________________________
> consulting mailing list
> consulting at drupal.org
> http://lists.drupal.org/mailman/listinfo/consulting
>
>


More information about the consulting mailing list