Announcements Block by Vocabulary Terms
| Project: | Announcements |
| Version: | 6.x-1.2 |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
I thought I recalled something about announcements by Vocabulary terms. The documentation refers to
"Announcements: In xxx vocabulary
Shows the terms for the xxx vocabulary, which has been assigned to the 'announcements' content type. There may be more than one vocabulary show, depending on your configuration. Note: if there are no vocabularies assigned, then this block will not be shown."
I created a vocabulary for the announcements and assigned terms. I now have a block that shows the number of announcements by each vocabulary term, and I can click on each to see the announcements page for that term.
What I need to do is to have an announcements block on the front page that contains all announcements (which works fine) and then blocks on several other pages that show the announcements only for the vocabulary term relevant for each page.
If I click on the term in the announcements by category block, I get a page that shows the announcements by category. Now what I need is to use that same functionality in a block that will show the announcements for a selected vocabulary term. How can I do that?

#1
Try this http://drupal.org/node/323329 for two modules that may help.
#2
This is do-able and not all that difficult. The trick is to know which term out of the ones that a node might be tagged with is the one to show.
#3
I would want the ability to create a block that is tagged to a term of my choice from the list of all announcements terms, and would show all the announcements that have that term associated with them. An announcement would show up in all blocks that are linked with terms that are associated with the announcement.
If I were creating views to do this, I would create a view for each term, and use that view as a block on each page where I need it.
#4
That's exactly how the Web Links "Related" block works, so I can borrow my code from there. Be aware that this only works when a single node is displayed (for example, it will not work on a taxonomy/term/xxx page).
#5
#6
Committed.
#7
Included in new release.