Would like to use this nice module but what I really need is to have all redirects go to ONE page, with the term id as a parameter (i.e., with a "?term=" syntax instead of the slash syntax).

If I redirect to "xyz" then the destination is currently "xyz/#", but I need is "xyz?term=#".

I want to have a single page get called for all taxonomy node-list requests, so it can build a customized table. (I already have such a page as my front page, but it shows ALL nodes of the applicable type, not a subset based on taxonomy.)

Either I need a way to get the term id as a parameter, or I need to learn how to have all "xyz/#" URLs land on the same page, which can then grab the # to use in a query.

If my ignorance of how to do the latter is the real issue, please be so kind as to forgive me and fill me in.

Thanks!

Comments

David Lesieur’s picture

Title: Slash format vs. query format » Use tokens in redirect path
Version: 4.7.x-1.x-dev » master
Component: Documentation » Code
Category: support » feature

The module would be more flexible if redirect paths supported token replacement. Any path could then be defined. Some examples:

xyz?term=%tid
myview/%tid/arg1/arg2
faceted_search/results/taxonomy:%tid
David Lesieur’s picture

Status: Active » Fixed

My mistake! This has been implemented already. Available tokens are !tid and !name.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.