I'm having issues with Drupal Views module's replacement patterns in a multilingual site. I have 2 views, one is a page view that looks for the [tid] on the URL to list contents associated with that [tid]. I have another block view that lists my taxonomy terms and rewrites them to output a link which points to the first page while adding the [tid] to the URL. So in the block view, I have a "Taxonomy term: Name" field with "Output this field as a link" checked in the "Rewrite Results" section. The link path I'm using is "category_contents/[tid]". This works correctly to give me the list of taxonomy term as clickable links, the link looks something like "http://localhost/category_contents/2". This works fine in English.

I recently changed the site to default to Simplified Chinese, and now the same block view is producing links as "http://localhost/category_contents/%5Btid%5D", which obviously won't work correctly.

Seems some HTML encoding is happening before the replacement pattern is being processed, any ideas?

Comments

cycotron69 created an issue. See original summary.

MustangGB’s picture

Priority: Major » Normal
MustangGB’s picture

Status: Active » Closed (outdated)