开发者

View of Terms. How to get term synonym in Fields or via Custom field (php code)?

开发者 https://www.devze.com 2023-01-03 11:12 出处:网络
I am using Drupal 6, and Views 2. For example, term has the alias 开发者_开发技巧“vocabulary/term1” (only one level, no nesting).

I am using Drupal 6, and Views 2. For example, term has the alias 开发者_开发技巧“vocabulary/term1” (only one level, no nesting). How do I obtain “term1” field for every item in View, displaying items of type Term?


The probably best/easiest way is to use the token of pathauto.

If you build links use the "output this field as link" feature, which converts the links to it's aliases automatically

0

精彩评论

暂无评论...
验证码 换一张
取 消