Inherit Taxonomies
DMorgan - June 21, 2008 - 19:12
| Project: | NodeReview |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Is it possible to have the reviews inherit the taxonomy terms defined for the reviewed node? This would allow for using path auto to do things like:
Node: [vocab]/[termpath]/[title]
Review: [vocab]/[termpath]/reviews]/[title]
Even better would be if the reviewed node was exposed as a token for:
Node: [vocab]/[termpath]/[title]
Review: [vocab]/[termpath]/[reviewed-node]/reviews]/[title]

#1
You're talking about the Breadcrumb and URL right? The Taxonomy Context module would help you with the Breadcrumb.
For the URL paths, can't you use Pathauto and just configure the "Review" content type pattern to be [vocab]/[termpath]/reviews/[title-raw]?
Edit: I guess Pathauto doesn't work for the review nodes. It doesn't seem to do anything for me. As for the Taxonomy Context module, the Taxonomy breadcrumb works for the list of reviews but not when you're viewing one full review node page.
#2
Pathauto works fine. And yes that is exactly what i want to do.
The problem is that in order to make it work either we have to programattically assign the same terms to the review as were assigned to the reviewed node OR we have to stick the taxonomy form in the review and trust the user to pick the right one.
I think the better course would be to have the review automatically be assigned to the same taxonomy terms as the reviewed node.