Currently, there is a relationship handler that will create a taxonomy term context from a single row in a view context. I need to be able to pass all the term IDs from the view context into a pane, concatenated by either a '+' (or) or a ',' (and).

To do this, I copied the term_from_view ctools plugin for views_content relationships to terms_from_view and modified it accordingly so it will create a context of multiple terms instead of a single term. The form also has the option for choosing 'AND' or 'OR' as the concatenator.

Comments

KeyboardCowboy’s picture

Status: Active » Needs review
StatusFileSize
new2.22 KB

Attaching patch to add new multiple term relationship.

chris matthews’s picture

The 4 year old patch to terms_from_view.inc applied cleanly to the latest ctools 7.x-1.x-dev and if still applicable needs review.

Applied patch views_content/plugins/relationships/terms_from_view.inc cleanly.

mustanggb’s picture

Category: Support request » Feature request
japerry’s picture

Status: Needs review » Closed (outdated)

Drupal 7 is no longer supported, closing.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.