[support] Multiple values as one argument in a view
Eric McKenna
eric.mckenna at gmail.com
Mon Jun 11 14:49:36 UTC 2007
you could probably use views argument handling code for that.
http://drupal.org/node/70145
On 6/11/07, Zohar Stolar <z.stolar at gmail.com> wrote:
>
> Is it possible to pass multiple values as one argument in a view?
> For example, Say I have a CCK field with 4 options:
>
> 0 | red
> 1 | green
> 2 | blue
> 3 | white
>
> I want to pass these values to my view, using a URL like
> http://example.com/color/0
>
> This is very easy. But - How can I use one argument, to show me two
> colors?
> I tried the following with no success: http://example.com/color/1,2 and
> http://example.com/color/1+2
>
> Neither worked.
>
> Any ideas?
> Do I have to create two separate views for that (one that uses URL
> arguments and another one using filters)?
>
> Zohar
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20070611/9cc54ad7/attachment.htm
More information about the support
mailing list