i'd like to use comma separated list of terms at taxonomy term name argument. it will be possible in the future?
thank you for your attention.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 126191-comma+separated+term+names+in+views+arg-7-D6.patch | 3.48 KB | nikosnikos |
| #7 | multiple-term-names-view-patch.png | 47.31 KB | nikosnikos |
Comments
Comment #1
merlinofchaos commentedIf someone provides a patch, it might.
Comment #2
dayre commentedThe future is NOW (though not in terms of a patch):
http://drupal.org/node/54455#comment-239583
Comment #3
catchComment #4
Gábor Mayer commentedtql is an alternative for filtering by term name
Comment #5
amitaibuThis issue is already implemented in Views 2. In order to use it:
1)enable the views provided taxonomy_term.
2) From all the existing arguments from the 'Arguments'.
3) Add 'Taxonomy: Term ID' argument with the following settings:
title = Content tagged with: %1
Validator =
Allow multiple terms per argument - Enabled.
4) Save the view.
On a side note having TQL module ported to D6 could be nice :)
Comment #7
nikosnikos commentedThe solution proposed in #5 didn't work for me so I wrote a patch.
I haded a new "argument type" in the "validator options" field in "Taxonomy term ID" argument. By selecting it, it is possible to have multiple term names in argument like .../Joe,Benny B.,Hakim/
The limitations are :
The patch add this to validate_argument function in views_plugin_argument_validate_taxonomy_term
Comment #8
dawehnerThere is another issue about exactly this topic: #1248300: Contextual filters: Taxonomy filter validation using multiple term names
There a quite well written patch is added so mark this as duplicate. I'm sorry that this patch so basically got lost, but
it's indeed a problem how bigbigbig the queue is, and you even can't find out what all kind of patches are in.
Thanks for providing a patch anyway.