[support] filtering on multiple terms per node, how?
Haisam K. Ido
haisam at ido.org
Wed May 2 19:37:26 UTC 2007
How does one list nodes which have two or more terms associated with
that node? In other words, if a node is tagged as having term 9 and term
33, is it possible to filter upon all nodes which have terms 9 and 33
and then feed them?
Although /taxonomy/term/nn+mm is useful it is only a concatenation method.
Cog Rusty wrote:
> This can be done using categories.
>
> - Enable the taxonomy module.
> - In the categories admin menu, create vocabularies which apply to
> some content types (e.g. "Sections", "Topics" etc).
> - In these vocabularies, add terms (categories) such as "Books", "Movies" etc.
> - Then, whenever you create or edit a node you can tag it with terms
> (categories).
> - To get a blog-like listing of all the nodes which are tagged with a
> certain term you use the url "/taxonomy/term/nn" where nn is the
> term's ID.
>
> You can use that url in your menus. If you enable the path module you
> can also alias that url to something meaningful (e.g.
> "/books/fiction")
>
> There are more tricks for listing node teaser lists, for example
> "/taxonomy/term/nn+mm" lists nodes from two different categories. For
> even more advanced stuf you can install and use the views module.
>
>
> On 5/2/07, Pedro Andrade <pedro.andrade at stepahead.pt> wrote:
>
>> Hi there,
>>
>> What I need to know is if there is any way to keep several menus, and in
>> each menu be able to list all nodes relating to it. Like it happens in
>> drupal main page when content is inserted.
>>
>> Thank you,
>>
>> Pedro A.
>>
>> --
>> [ Drupal support list | http://lists.drupal.org/ ]
>>
>>
More information about the support
mailing list